Results 1 to 2 of 2

Thread: Drill down menu scrollbars

  1. #1
    Join Date
    Jan 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Drill down menu scrollbars

    1) Script Title: Drill Down Menu (v1.5)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...lldownmenu.htm

    3) Describe problem: I am trying to limit the height of the menu to 200px. The div becomes scrollable on levels 2 and 3 but the initial view always expands to the full height. Any ideas? Thanks very much.

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

    Default

    This is something I plan to add to the script the next time it's updated. In the meantime, try finding the below line inside the script, and make the change in red below:

    Code:
    			thisdrill.$maindiv.css({height:200, overflow:'hidden'}) //set main menu DIV's height to top level UL's height
    DD Admin

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
  •