Click to See Complete Forum and Search --> : link to top of page


tbs010
12-03-2005, 11:16 PM
I would like to add a link to the bottom of my page that says, "Top of Page" what code do i need so when they click this the page will move to the top.
Thanks

bathurst_guy
12-03-2005, 11:23 PM
at the top of page
<a name="top">&nbsp;</a>
at the bottom
<a href="#top">Top of Page</a>

Kravvitz
12-03-2005, 11:25 PM
Perhaps this will answer your question. (http://www.pageresource.com/html/link2.htm)

Edit: bathurst_guy beat me to it.

Fang
12-04-2005, 01:03 AM
All you need, at the bottom, is:<a href="#">Top of Page</a>

ShrineDesigns
12-04-2005, 02:06 AM
here is what i use<a href="#top" onclick="window.scroll(0,0);this.blur();return false;">top</a>be sure to a this at the top of the page<a id="top"></a>