• Resolved surachar

    (@surachar)


    Hi. I am using the Dandelion theme. The dropdown menus are appearing fine using Firefox, IE8 and IE10, but not IE9. Using IE9, if you press F12, everything works fine from then on. I would appreciate anyone’s help. The site URL is soi.seattle.org

    Thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter surachar

    (@surachar)

    To be more specific, I only say it works in IE8 because I emulated IE8 using the developer toolbar. IE8 could just be a distraction here. IE9 works fine with the menus if I press F12 even though I don’t change any settings in the resulting developer tools interface. I have tested and confirmed the menus work fine in Safari.

    Thread Starter surachar

    (@surachar)

    Hi. This issue is now resolved as a result of this clue from the theme author. Our other problem (“Google Maps Not Appearing In Events Pages”) was also solved as a result of the fix. It wasn’t the plug-ins causing the problem. We accessed the ‘console’ entry via ftp, about 5 levels deep and deleted it, then the dropdown menus worked fine. If you can’t locate it, please write back and I will ask my partner to tell the pathway we took. Best Wishes.
    ———
    ‘some JavaScript functionality is adding logs to the JavaScript console and I think when the console is disabled, this stops executing some scripts. When you enable the console (F12 enables the developer tools), everything works normally. As I always have the console enabled by default, I didn’t experience any problems.
    So, this is most likely caused by a plugin installed, so you can try with temporarily disabling all the plugins installed. Or if you have added some additional JavaScript code, just make sure to delete the logging lines:

    console.log(…); ‘

    Thread Starter surachar

    (@surachar)

    Hi. In case anyone else needs this, the pathway and instructions are these:

    The file that needs to be edited is the “script.js” file in this directory:
    /wp-content/themes/soi/script/

    “soi” is a variable in the path, so other wordpress installations will have a different value in the path there. Think of it really as /wp-content/themes/FOO/script/. The soi directory is probably a modification of dandelion, as the “dandelion” directory does not reference console.log in it’s script.js file. Consequently I’m not sure how useful this fix will be to other users of the dandelion theme.

    if in doubt, you can turn on script debugging in internet explorer, and you’ll see an “object is undefined” type of error pointing to console.log on a particular line of the script.js file. You can see the path there while in debug mode.

    the line that needs to be commented out is
    // console.log(jQuery(this));

    Apparently “console” is only a valid object reference while Internet Explorer’s developer tools are active. This is why the menus work when you’ve activated developer tools by pressing F12.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dropdown Menus Not Appearing in IE9’ is closed to new replies.