-
Drill Down Menu height problem
Script: Drill Down Menu (v1.6)
http://www.dynamicdrive.com/dynamici...lldownmenu.htm
Hi everyone, I have a problem about the height of the drill down menu, I put a div under it, it's ok when it's at the root but when I go further in the menu and there are less links than the root, the div after the menu stays at its position and doesn't go up, there is a blanc space between the div of the menu and the next one. I know that's because we set the menuheight in the script first but isn't there a way for that height to be automatically set up ?
I mean if there are more links, it just expand (no scroll inside the div) and if there are less links the height just shrink and let whatever divs after it to follow it.
I don't know if I made myself clear, but I really need to change the height's behaviour.
Thanks a lot for your help.
Last edited by Hassang; 04-05-2010 at 09:25 AM.
-
-
Sure, try the below modified .js file, which should cause the menu to resize to the currently shown UL list each time.
DD Admin
-
-
Whoaaaaaaah !
Thanks a lot for your help, it just work perfectly. You sure are a JS Ninja :]
Which parameter did you change inside the js file ?
-
-
Is this file still available?
-
-
I make mine the last user comments, is this file still available?
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks