View Full Version : automatic move to bottom on refresh
hourang
07-18-2005, 07:24 PM
i have a page that is in an iframe that is refreshed every 5 seconds. i want this page to automatically go to the bottom of the page every refresh. i tried anchors but i couldnt get it to work. what is the normal way to do this?
_Aerospace_Eng_
07-18-2005, 07:28 PM
Add this to the body tag of the page being iframed in.
onload="window.scrollTo(0,document['body'].offsetHeight)"
hourang
07-18-2005, 07:36 PM
awesome thanks, that worked beautifully. :D
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.