[Javascript] return to top - through JavaScript

Peter-Paul Koch gassinaumasis at hotmail.com
Sat Mar 23 08:05:52 CST 2002


>Is there a way to force a page to the top through JavaScript?  Trying to 
>provide a "return to top" link in a miva shopping cart.  The anchor tag 
>#top does not work (information after domain is stripped).  I tried a 
>JavaScript file using the referrer tag, but that also had problems with 
>information that was lost through a form post.  Just wondering if you can 
>force "self" to the top?

self.scrollTo(0,0);

ppk


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




More information about the Javascript mailing list