Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:34
Suggestion: Setting to Stop the menu scrolling down the page
Poster: kelemvor
Dated: Wednesday June 19 2002 - 0:21:08 BST
I didn't see this in the settings so if it's already in there, then please let me know...
Anyhow, I have the menu set to scroll down the page as the user scrolls down so the menu is always visible. However, I'd like to be able to set the menu to stop when the bottom of it reaches a certain number of pixels from the bottom so it doesn't move down and cover up my bottom shared border.
Basically assuming the code could determine how long each page was, and then subtract whatever setting I set (e.g. 100) and when the bottom of the menu hits whatever that is, it would stop scrolling.
Dunno if this is even possible but would be cool.
Thanks,
--Mike
Poster: Andy
Dated: Friday June 28 2002 - 11:08:07 BST
I dont think this will work because all page heights will be different depending on your content.
Cheers
Andy
Poster: kelemvor
Dated: Monday July 1 2002 - 3:18:05 BST
Yeah I know that's why I said you can get the page height and subtract a constant number depending on the height of the bottom border which would be the same on all pages. So if the page is XX, I always want the bottom of the menu to be at XX-50 or higher. When it gets to XX-50 it would be neat to ahve it stop scrolling.
stopping before end of page
Poster: tony
Dated: Tuesday August 27 2002 - 19:50:59 BST
OK but could there be any sort of doorstop coding on the page that would tell the menu to stop rolling at that point on the page?
And, by the way, what is the difference between followspeed and followrate?
Best wishes
Tony
Poster: John
Dated: Wednesday August 28 2002 - 15:01:32 BST
Guess I've always been confused by this question (or maybe it's just still early over here), but my menus stay within a few px of the top of the page so there's no chance of running over a footer.
See http://www.west.asu.edu/cspc/steps/intro.htm as an example.