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://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?
Preventing scrolling
Re: Preventing scrolling
You haven't posted a URL so we can see your code.nodata wrote:How can I get a horizontal menu to resist scrolling?
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://milonic.com/forum/viewtopic.php?t=2981.
John
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
http://milonic.com/menusample.php?sampleid=10
Ruth