Welcome visitor
* Login
* Register
It is currently May 22nd, 2019, 2:47 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  static link to the top
PostPosted: June 11th, 2009, 7:21 am 
User avatar

Posts: 27
I have a lot of info in some of my documents and i would like to have like the arrows "^" when you cliclk 'em they take you back to the top. What is the code for that?

Also, would it be possible to have those arrows on the same place on the screen even when the document is scrolled way far down?

Thanks for your time.


Top
 Profile  
 
  Re: static link to the top
PostPosted: June 11th, 2009, 9:01 am 
User avatar

Posts: 137
put this on the top of your document
<a name="top">Your Top Content</a>


and this is for the link, just make sure it doesnt mess with something else being always in that spot
<div style="position: fixed; top: 100px; left: 30px"><a href="#top">link</a></div>

of course, you can edit the position


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron