I have an accordian style menu and all I want is for it to stay open while navigating through the child pages. Simple enough right? Except I'm having a conflict with the hoverintent plugin
http://cherne.net/brian/resources/jq...verIntent.html
I'm trying to get these lines of code to play nice with the hoverintent plugin as that is what is causing the new lines to break.
Code:
// check URL for 'ezesiy'
myString = location.href.indexOf("ezesiy");
if (myString > 0) {
// expand the UL below the LI containing that menu item
jQuery('a:contains("ezesiy")').parents('li').children('ul').slideDown('1500');
}
Check out the demo:
http://jsbin.com/ezesiy/10/edit
Any help is much appretiated.