Jump to content


Photo

text moves when page is scrolled


  • Please log in to reply
4 replies to this topic

#1 just-j

just-j
  • Members
  • PipPipPip
  • Advanced Member
  • 52 posts

Posted 26 July 2006 - 09:47 AM

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.

#2 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 26 July 2006 - 12:06 PM

position: fixed; with left: 0px; and top: 0px should do the trick in good CSS-compliant browsers. That or Javascript.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#3 just-j

just-j
  • Members
  • PipPipPip
  • Advanced Member
  • 52 posts

Posted 26 July 2006 - 02:26 PM

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.

#4 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 26 July 2006 - 02:39 PM

you will need to script that

#5 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 26 July 2006 - 03:20 PM

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 this. NOTE look down at bottom of page and scroll up and down you'll notice a message overlayed at the bottom.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users