View Full Version : :: #top buttons in javascript ::
babelfish
06-19-2002, 10:04 AM
how can i make a button that takes the user to the top of the page without the url#top being displayed in addy bar? i just dont like the way it looks
thanks peeps
Zvona
06-19-2002, 10:44 AM
with JS:
<input type="button" value="Back to top" onclick="scrollTo(0,0);" />
Nice enough? ;)
babelfish
06-19-2002, 11:52 AM
thanks! works fine!
christineb1979
01-04-2011, 03:24 AM
Thats cool :)...
_______________
Whole in one guide: Power4Home Review (http://jadereviews.com/home-and-family/homemade-renewable-energy/power4home-review/) and The Complete Bead Guide (http://jadereviews.com/society-and-culture/art/the-complete-bead-guide/).
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.