Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-13-2013, 04:20 PM   PM User | #1
gotsnow
New to the CF scene

 
Join Date: Feb 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
gotsnow is an unknown quantity at this point
Arrow jQuery Accordion Menu hoverIntent Conflict

I'm trying to get the accordion menu to stay open while viewing the child pages but I'm getting a conflict with the hoverIntent plugin. I'm trying to add these lines so the menu stays open (it works without the hoverIntent script but then the menu itself breaks)

I need to add something like this but I can't get it to work

Code:
// check URL for 'ezesiy'
myString = location.href.indexOf("ezesiy");

if (myString > 0) {
    // expand the UL below the LI containing that menu item
    $('a:contains("ezesiy")').parents('li').children('ul').slideDown('1500');
}
Check out the demo here: http://jsbin.com/ezesiy/10/edit
gotsnow is offline   Reply With Quote
Reply

Bookmarks

Tags
jquery

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:00 AM.


Advertisement
Log in to turn off these ads.