You are here: irt.org | FAQ | JavaScript | Scroll | Q1427 [ previous next ]
Try:
<html> <head> <script language="JavaScript"><!-- function alignRight() { // can't be done } //--></script> <script language="JavaScript1.1"><!-- function alignRight() { window.scroll(1000000,0); } //--></script> <script language="JavaScript1.2"><!-- function alignRight() { window.scrollTo(1000000,0); } //--></script> <body onLoad="alignRight();"> <pre> 012345678901234567890123456780123456789012345678901234567890123456789012345678901234567899012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 </pre> <body> </html>