When programming I normally like to put all my experiment code on one document. After a while that document gets real long and I have to scroll all the way down to read my output. To solve this problem I use this line of code below. When I open the webpage it scrolls straight toward the bottom.
<body onload="window.scrollTo(0,document.body.scrollHeight);return false //this auto scroll the page to the bottom " >
No comments:
Post a Comment