IndeComp

Member

Forum Replies Created

  • In reply to: IE throwing 'Invalid Argument' in webfont.js

    #35406

    Thanks cleevewebby.

    Ahhhhhhhhh…… 🙂 i was not specific enough…

    The entire two lines…. (Which on my HUGE monitor is only one line) should be Commented out.

    So both lines have the “<!–” “–> on either side of it… ie below…

    wf.src = (‘https:’ == document.location.protocol ? ‘https’ : ‘http’)

    + ‘://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js’;

    Becomes….

    <!– wf.src = (‘https:’ == document.location.protocol ? ‘https’ : ‘http’)

    + ‘://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js’; –>

    As long as the “<!– is before the first line beginning with “wf.src = (‘https:’ == d) which is actually the line above the “Ajax linE” and the “Ajax line” ends with “–>”

    *Note* the quotation marks ” ” in my notes are only to define things better.

    In summary…

    Where i said “Comment out the AJAX line of code” you actually need to “comment out the line prior to the ajax line as well as the ajax line”

    Confused yet?

    And as for where the “+” sits on either line? Doesnt matter as both lines need to be commented out.

    I hope this helps 🙂

    In reply to: IE throwing 'Invalid Argument' in webfont.js

    #35404

    Yes true, with any luck an update will fix it anyways 😉

    Not sure about Keith, but i had the same issue in IE8.

    In reply to: IE throwing 'Invalid Argument' in webfont.js

    #35402

    Hi Keith!

    Same issue here and i have resolved mine! (kinda of) 🙂

    Although the “webfont.js'” is valid and i can see it on Googles site… if you Comment out the “wf.src = (‘https:’ == document.location.protocol ? ‘https’ : ‘http’) + ‘://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js’;” line it stops the error.

    (Considering it was erroring in the first place, i havnt lost anything. and it appears to only be a doorway to Googles Web Fonts… not much missed on my little sites. 🙂 )

    How to: (Step by step as i dont know how familiar you are with WordPress)

    1. In the WordPress Dashboard go to: “Appearance” on the left

    2. Select “Editor”

    3. Click “theme-webfonts.php, about halfway down on the files panel on the right side of screen

    4. 25th line down is the “ajax.googleapis” line (CTRL + F – and type “ajax.” will take you straight there

    5. Add a “<!– ” without quotes at the start of the line, and ” –>” at the end of that line.

    And you’re done.

    In reply to: IE throwing 'Invalid Argument' in webfont.js

    #35401

    Hi Keith!

    Same issue here and i have resolved mine! (kinda of) 🙂

    Although the “

Viewing 4 posts - 1 through 4 (of 4 total)