PDA

View Full Version : Submenu disappears before you can select an Item



cynden80
09-16-2008, 09:21 PM
http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/
I downloaded the script from the above link and when I put it in my web site the main menu seems to work fine, but when you hover over a main menu item the subm menu does appear, but then disappears before you can select an item from the submenu.

You can view the script at www.westbendumc.com/aosnt/

ddadmin
09-17-2008, 02:04 AM
For some reason the CSS for your menu (or perhaps CSS for the page in general that's affecting the menu as well) is creating a 1px gap right beneath each menu item. Inside ddlevelsmenu.js, see if adding the code in red below helps:


submenu.style.top=menutop-1+"px"

cynden80
09-17-2008, 03:15 PM
For some reason the CSS for your menu (or perhaps CSS for the page in general that's affecting the menu as well) is creating a 1px gap right beneath each menu item. Inside ddlevelsmenu.js, see if adding the code in red below helps:


submenu.style.top=menutop-1+"px"

Works fine with that addition. Thank you!