Make your own free website on Tripod.com

The Scroll To Command

When someone loads your page, it typically is scrolled all the way to the top, and all the way to the left.

With this bit of code in your body tag like so:

<body onload=window.scrollTo(0,99999);>

...your webpage will be scrolled where you want it to. As this is set, this page would scroll right 0 pixels, and down 999999 pixels. It's unlikely that your web page will ever be 999999 pixels long, so what this bit of JavaScript is really telling the browser is go all the way to the bottom, instead of the top!

That could be handy for tagboards...

Main?