PDA

View Full Version : Resolved Multi Level CSS Menu JS Issue



richard_j_green
07-23-2009, 12:29 PM
1) Script Title:
jQuery Multi Level CSS Menu #2

2) Script URL (on DD):
http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/

3) Describe problem:

I've been customising it to fit my site and I've noticed I'm getting some JS errors in the IE Developer Tools Console which I think might be the cause of a problem I'm having with the navbar at the moment.

The error is queue().length is null or not an object Line 35, Char 6.
Line 35 of the script is as follows:

if ($targetul.queue().length<=1) //if 1 or less queued animations

The actual problem is two fold.
1) One of my submenu UL's is not showing and the other is flickering.
2) I ca'nt work out why the sub-menu's are so big - The padding around the actual LI's.

The page is at http://www.techtosolutions.com.
I would be really grateful for any help.

Thanks

richard_j_green
07-23-2009, 12:57 PM
After some more effort, I've managed to fix the top and bottom padding on the sub-menu but I still have the left and right padding issue on the sub-menus.

And I sitll can't work out the cause of the top level menu problem.

richard_j_green
07-23-2009, 10:29 PM
I seem to have this problem resolved now, so closing this one.