/    Sign up×
Community /Pin to ProfileBookmark

Help Please Menus

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.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Rick_BullNov 22.2002 — The simple way for Netscape and Opera is to use fixed positioning CSS:

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


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.
Copy linkTweet thisAlerts:
@Beach_BumNov 22.2002 — 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
Copy linkTweet thisAlerts:
@lilstormauthorNov 25.2002 — 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!
×

Success!

Help @lilstorm spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...