Click to See Complete Forum and Search --> : Help Please Menus


lilstorm
11-22-2002, 03:49 PM
Ok I am a complete moron when it comes to this stuff lol. But I added a beautiful cascading menu to my site. And I want to have it move with the page as it is scrolled up and down. Any help on how to do that? Thanks so much.

Rick Bull
11-22-2002, 04:31 PM
The simple way for Netscape and Opera is to use fixed positioning CSS:


<div style="position:fixed; top:0px; left:0px;">
<!-- REST OF MENU STUFF -->
</div>


But IE being IE doesn't support fixed position, so you'll have to find a work around for that browser. But this method should work better for supporting browsers.

Beach Bum
11-22-2002, 04:35 PM
The right answer WOULD be to use the position fixed attribute. But, MS does not support it.

You could use frames to keep your menu at the top (or side).

There are also some JavaScripts which you can get which do that. You can adopt one for your menu. Here is an example

http://www.dynamicdrive.com/dynamicindex1/staticmenu.htm

lilstorm
11-25-2002, 01:37 AM
Thank you guys. I didn't really find what I was looking for but that is a really neat site :) Thanks I will keep looking or maybe leave it or change it lol. Thanks again!