Jump to content

Archived

This topic is now archived and is closed to further replies.

just-j

text moves when page is scrolled

Recommended Posts

i dont know if its css, javascript or both  but i want a certain link to always be at the top even if someone scrolls the page down.  could someone point to to a good web page that will help explain this..  thanks.

Share this post


Link to post
Share on other sites
position: fixed; with left: 0px; and top: 0px should do the trick in good CSS-compliant browsers. That or Javascript.

Share this post


Link to post
Share on other sites
i dont think you got what i was talkin about.    what i want is when someone scrolls down on the page then there is a clickable text link that kind of follows them as they scroll..  so no matter if they scroll the screen all the way down there is still that same clickable text link that is chillin where ever i want to keep it positioned.  i could use a tiny iframe with z-indez and positions set but im trying to do away with iframes.

Share this post


Link to post
Share on other sites
Yeah, you'll want to use javascript. DynamicDrive.com hasd a few pre-made scripts lying about there for what you want to do.

Prehaps you are look for something like [url=http://www.dynamicdrive.com/dynamicindex10/topmsg.htm]this[/url]. NOTE look down at bottom of page and scroll up and down you'll notice a message overlayed at the bottom.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.