Welcome visitor
* Login
* Register
It is currently September 16th, 2019, 12:21 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  back to top
PostPosted: May 21st, 2009, 6:14 am 
User avatar

Posts: 44
how does the sites that after you scroll down through the page you find the option "back to top" or simply "^" and when you click it it takes you back to the top of the page, what code are they using?

thank you.


Top
 Profile  
 
  Re: back to top
PostPosted: May 21st, 2009, 6:36 am 
User avatar

Posts: 56
http://www.scriptingok.com/tutorial/HTML-links-3

<a name="this_is_the_top">top content...</a>
<p>p1</p>
<p>p2</p>
<p>p etc...<a href="#this_is_the_top">back to top</a></p>


Top
 Profile  
 
  Re: back to top
PostPosted: May 21st, 2009, 6:37 am 
User avatar

Posts: 44
thanks man


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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