i saw this on leslie’s site. i never thought of it before. the conventional way to do a “return to top” link is create a bookmark with:
at the top of the page and then use:
<a href="#top">Return to Top</a>
to link it.
well there’s an easier way. this only works if you want to return to the very top of the page. it obviously does not replace the functionality of bookmarks.
<a href="#" onclick="window.scrollTo(0,0);return false;">Return to Top</a>