[thelist] JavaScript to jump to the top of a page

Sarah Sweeney poohbear at designshift.com
Tue Dec 23 09:25:21 CST 2003

>> I'm looking for a JavaScript which will cause a page to go back to the 
>> top of a page.
> window.scrollTo(0,0)

Cool! Thanks for this. As it turns out, this is only a problem for me, 
because I have ColdFusion debugging turned on, which means that the page 
is always quite long for me. So it wasn't actually a problem for other 
site users, but it's nice that it now works correctly for me :)

More information about the thelist mailing list