Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7957893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:20:01+00:00 2026-06-04T04:20:01+00:00

Sorry for the confusing title, I didn’t know how I could describe it better.

  • 0

Sorry for the confusing title, I didn’t know how I could describe it better.

Anyways, here is the ‘problem’ I am currently using for my website Cufon. Which works great. However with Internet Explorer 8 it becomes really slow. Therefor I decided to use:

<![if !(IE 8)]>
<script type="text/javascript" src="js/myriad-pro.cufonfonts.js"></script>
<script type="text/javascript">Cufon.replace('.example1') ('.example2') ('.example3') ('.example4') ('.example5');
</script>
<![endif]>

This works great, however not for everything. Some parts of the scripts, which calls Cufon in the script itself, it doesn’t work and Cufon will still be displayed in IE8 (with all negative results from it).

Several included scripts / parts have the following code in it:

<?php
echo "<script language=\"javascript\" type=\"text/javascript\">";
echo "$(document).ready(function() { Cufon.replace('.orderpart1') ('.orderpart2') ('.orderpart3'); });";
echo "</script>";
?>

Now is it possible to make a same statement as with within the PHP script(s)? So if it’s any browser other than IE8 it will load the Cufon, but if it’s IE8 it will not load Cufon?

Hopefully someone understands what I mean here, cause it’s kinda hard to explain for me… 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:20:02+00:00Added an answer on June 4, 2026 at 4:20 am
    <?php
    echo "<![if !(IE 8)]>";
    echo "<script language=\"javascript\" type=\"text/javascript\">";
    echo "$(document).ready(function() { Cufon.replace('.orderpart1') ('.orderpart2') ('.orderpart3'); });";
    echo "</script>";
    echo "<![endif]>";
    ?>
    

    is that it ? Or did I misunderstand your request ?

    Edit:
    Another way, as I see that you are using jQuery, could be using jQuery browser detection :

    <?php
    echo "<script language=\"javascript\" type=\"text/javascript\">";
    echo "if ( $.browser.msie && $.browser.version <= 8 ) {";
    echo "$(document).ready(function() { Cufon.replace('.orderpart1') ('.orderpart2') ('.orderpart3'); });";
    echo "}";
    echo "</script>";
    ?>
    

    Please note that this feature is deprecated :

    This property is available immediately. It is therefore safe to use it to determine whether or not to call $(document).ready(). The $.browser property is deprecated in jQuery 1.3, and its functionality may be moved to a team-supported plugin in a future release of jQuery.

    If you know exactly what kind of feature are needed and aren’t implemented in IE8 i would recommend using $.support which is meant for feature detection rather than browser detection.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

sorry, for the cryptic title i didn't find any better summary for my problem.
Sorry for the confusing title, but it basically says it all. Here's the structures
Sorry for the confusing title :P I'm sure I should know this but I
Sorry for the confusing title, I couldnt explain it better. Feel free to edit
Sorry about the confusing title, I had a hard time describing the problem. I
Sorry if the title is a little confusing. Here's what I meant - I
Im sorry if the title is seem confusing :( I Using KC Finder to
Sorry if the title is confusing. Here is the query I have Select MONTH(DATE(TIMESTAMP)),
the title is confusing sorry, if you can think of a better one, please
Well, sorry about the confusing title but I'm having a slightly annoying problem with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.