Problem with hover menu in IE (I know…)

  • Anonymous

    #4894

    Is this part of your code, Syahir?

    <script type="text/javascript">
    WebFontConfig = {
    google: { families: [ 'Pontano+Sans::latin,latin-ext' ] }
    };
    (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
    '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
    })();
    </script>

    I am getting this error when loading the page in IE8:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
    Timestamp: Wed, 27 Jun 2012 02:51:18 UTC

    Message: Invalid argument.
    Line: 17
    Char: 565
    Code: 0
    URI: http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js

    I think it is causing the hover menu to not display (as seen here in IE):

    http://frc-de.com/wp/

    Any suggestions?

    Admin

    Syahir Hakim

    #29737

    Yes, that code is from the theme, but it’s taken straight from Google Webfont Loader for the webfonts. In any case, I don’t think that’s what causing the dropdown menu to not appear.

    I’ve tested the theme in IE7-IE9. IE7 and IE8 throw that error you mentioned, but I’m using IETester for this – native IE browsers typically don’t show these errors. Regardless, the dropdown menu still works ine IE7-IE9, despite the error.

    The menu dropdown issue has probably got something to do with z-index bug in IE.

    Anonymous

    #29738

    Okay. That definitely narrows it down for me. I’ll keep messing around and see if I can find anything. Thanks.

    Chris

    #29739

    I noticed that a couple of days ago. However, I didn’t test it out before I upgraded to 1.7.3, so I don’t know if the new google font script is causing it. My drop down doesn’t work it IE8 either. Since my site is fairly new, I’m switched back to not using it, but I will keep check on this post in case you guys find a fix.

    Anonymous

    #29740

    Thanks mandown1130.

    @Syahir,

    Where is that script above located?

    Admin

    Syahir Hakim

    #29741

    includes/theme-webfonts.php

    Chris

    #29742

    Hi Josh,

    I checked out the site that you listed above and it looks like you got the drop down menus to work in IE8. What did you have to wind up changing? I would love it if I could configure something in my child theme so this wouldn’t be a problem anymore.

    Looks good though. Glad you got it to work for you.

    Anonymous

    #29743

    Yeah… I couldn’t find this thread so I posted a new one…

    https://forum.graphene-theme.com/graphene-support/gradient-colors-with-main-menu-in-ie8

    Are you using a gradient declaration for your menu backgrounds? if so, remove the filter part specific for IE. That’s what fixed it for that site.

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

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!