CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript frameworks (http://www.codingforums.com/forumdisplay.php?f=62)
-   -   Menu Confilct with hoverIntent (http://www.codingforums.com/showthread.php?t=287579)

gotsnow 02-13-2013 03:56 PM

Menu Confilct with hoverIntent
 
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.


All times are GMT +1. The time now is 08:22 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.