Superfish navbar and vertical in same Joomla template
I have a Superfish navbar on the top and a Superfish vertical menue on the left. Each of them works properly alone. But when I active the vertical menue, the fly out behaviour overrules the navbar menue. I have then a popup menue on the top too, but I need the navbar behaviour there.
Can I use two instances of Superfish in one template?
How can I separate these behaviours?
Here is the source code:
jQuery.noConflict();
jQuery(function($){ $("ul.sf-menu").superfish({hoverClass:'sfHover', pathClass:'active', pathLevels:0, delay:800, animation:{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:0}) });
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;
jQuery.noConflict();
jQuery(function($){ $("ul.sf-menu").superfish({hoverClass:'sfHover', pathClass:'active', pathLevels:2, delay:800, animation:{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:0}) });
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;
Many thanks for you help!
Regards,
Monika