...

View Full Version : automatic move to bottom on refresh



hourang
07-18-2005, 08: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, 08: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, 08:36 PM
awesome thanks, that worked beautifully. :D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum