![]() |
|
|
+ Search |
![]()
|
Apr 20th, 2000 12:19
Martin Honnen,
Use
window.scrollTo(0, document.height ?
document.height : document.body.scrollHeight)
Example
<HTML>
<HEAD>
</HEAD>
<BODY ONLOAD="window.scrollTo(0, document.height ? document.height :
document.body.scrollHeight)">
<SCRIPT>
for (var i = 0; i < 40; i++)
document.write('JavaScript.FAQTs.com<BR>');
</SCRIPT>
</BODY>
</HTML>