Re: jQuery nav not responding
Posted: Fri Mar 11, 2011 5:14 pm
Why do you have Products and Solutions_Center? In your original post you only had one array.
The idea is - you want to use the ID of the <li> moused over to determine what submenu to show. So if they hover over an <li> with "Shredders", or "Identity_and_Document_Security", they get the appropriate submenu.
Put all possible submenu descriptions in 1 object. Don't split it up into multiple objects. When the function is called, you can use the passed ID as a key to output the necessary sub nav stuff.
The idea is - you want to use the ID of the <li> moused over to determine what submenu to show. So if they hover over an <li> with "Shredders", or "Identity_and_Document_Security", they get the appropriate submenu.
Put all possible submenu descriptions in 1 object. Don't split it up into multiple objects. When the function is called, you can use the passed ID as a key to output the necessary sub nav stuff.