Dropdown menu not working on mobile - already added code to head

Latest Reply from Alice at 2014-02-03 03:56:12
I've seen that many others have had this same problem:

The menu works fine on the full site, but on the responsive version (either on a mobile device, or when shrinking the window down) it does not.

The dropdown menu is there, but when I click a page, nothing happens.

I have already added this snipped of code in the <head> section of top.php:

<script>
jQuery('select.mobile-menu').
live('change',function(){window.location=jQuery(this).find("option:selected").val()});
</script>

The only plugin that I think could be causing a conflict is "Restore jQuery", but all it does is "Restore the loaded jQuery library to the version bundled with WordPress." I can't see why that would be an issue, unless the theme relies on a different version of jQuery to do its menuing magic.

Any ideas?

Thank you!
I confirmed that "Restore jQuery" IS causing the issue -- so the real question is what jQuery version/library is the theme itself using? It's clearly not the WordPress version, so that's causing conflicts with plugins that call the WordPress version.
Hi!
We are using the version 1.7.2. This version of jQuery is required for the correct work of our theme.

Leave a reply

Add codeAdd image