View Full Version : Drill down menu scrollbars

07-27-2009, 10:10 AM
1) Script Title: Drill Down Menu (v1.5)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/drilldownmenu.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.

07-27-2009, 05:36 PM
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:

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