Results 1 to 5 of 5

Thread: Drill Down Menu height problem

  1. #1
    Join Date
    Mar 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile 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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Sure, try the below modified .js file, which should cause the menu to resize to the currently shown UL list each time.
    DD Admin

  3. #3
    Join Date
    Mar 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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 ?

  4. #4
    Join Date
    Apr 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is this file still available?

  5. #5
    Join Date
    May 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I make mine the last user comments, is this file still available?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •