PDA

View Full Version : Flex Level Menu - same vertical position?



harlem
08-31-2010, 08:16 AM
1) Script Title: Flex Level Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/flexdropdown.htm

3) Describe problem: If you open up a sublevel within the menu, for example "Item Folder 3a", the new level that appear does not appear at the exact same vertical position as the previous. Instead, it appears one pixel down compared to "Item Folder 3a" block.

How to remove the one pixel difference and make them appear at the exact same vertical position in relation to each other?

ddadmin
09-01-2010, 04:29 AM
Try finding the line:


var y=0

inside the .js file, and change that to:


var y=-1

instead. If needed, change -1 to an event smaller number, like -3.