Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:53
Preventing scrolling
Poster: nodata
Dated: Monday December 8 2003 - 15:33:03 GMT
The vertical menu on this page:
http://www.west.asu.edu/sa/testsite/sl1.htm
will move up or down to resist scrolling.
i.e. it will show a scrollbar only when there is not enough room to display the full menu in the browser window.
The horizontal menu on this page (choose "DHTML Menu"):
http://www.milonic.com/
doesn't do this. Instead of the menu moving the menu to resist scrolling, a scroll bar appears.
How can I get a horizontal menu to resist scrolling?
Re: Preventing scrolling
Poster: John
Dated: Monday December 8 2003 - 16:51:50 GMT
nodata wrote:
How can I get a horizontal menu to resist scrolling?
You haven't posted a URL so we can see your code.
If by the above you mean how do you prevent a menu from following down the page, simply leave out the followscroll parameter. A good place to start would be http://www.milonic.com/forum/viewtopic.php?t=2981.
Poster: Ruth
Dated: Saturday December 13 2003 - 13:24:12 GMT
Try this sample. Not the page menu which is fixed, but the sample which follows down the page. Scroll down a bit so the menu scrolls until you see it at the top. I'm set at 800x600 and the scroll bar doesn't appear under the DHTML section. But, if I resize my browser to smaller then the scroll does appear. I think that's what you meant.
http://milonic.com/menusample.php?sampleid=10
Ruth