Re: Jquery Conflict?

Home Forums Older releases 0.9.x Jquery Conflict? Re: Jquery Conflict?

#1463
admin
Keymaster

Hi,

As far as I can see, the issue is in the following file:
http://www.multibrand.visionmix.us/sites/all/themes/multibrand2013/js/scripts.js

Just replace the following lines:

$('#mainnav ul.menu').smartmenus();
$('#main-menu').smartmenus('menuHideAll');

with this:

$('#mainnav ul.menu:first').smartmenus();

The problem is that $('#mainnav ul.menu') selects 3 UL elements (the root UL and 2 sub UL’s) and the script tries to initialize them all while normally we should initialize just the root UL.

Please let me know if you still have any troubles.

Cheers!

Register

You will be emailed a link to set your password.

Login

Lost password?