just-j Posted July 26, 2006 Share Posted July 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/15669-text-moves-when-page-is-scrolled/ Share on other sites More sharing options...
moberemk Posted July 26, 2006 Share Posted July 26, 2006 position: fixed; with left: 0px; and top: 0px should do the trick in good CSS-compliant browsers. That or Javascript. Quote Link to comment https://forums.phpfreaks.com/topic/15669-text-moves-when-page-is-scrolled/#findComment-63959 Share on other sites More sharing options...
just-j Posted July 26, 2006 Author Share Posted July 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/15669-text-moves-when-page-is-scrolled/#findComment-64046 Share on other sites More sharing options...
Hellusius Posted July 26, 2006 Share Posted July 26, 2006 you will need to script that Quote Link to comment https://forums.phpfreaks.com/topic/15669-text-moves-when-page-is-scrolled/#findComment-64056 Share on other sites More sharing options...
wildteen88 Posted July 26, 2006 Share Posted July 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/15669-text-moves-when-page-is-scrolled/#findComment-64090 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.