Page 1 of 1

Scrolling an Iframe

Posted: Sun Mar 19, 2006 2:09 am
by mbaroz
Hi
I have a chat script that runs within an Iframe .
I want to scroll to the bottom of the page each time a new line is entered to the iframe.
how do i use a correct , cross browser scrollBy to solve this issue ?
Thanks
Moshe

Posted: Sun Mar 19, 2006 7:39 am
by feyd
I wouldn't use scrollBy, but scrollIntoView.

check out the script I wrote here: viewtopic.php?t=37059

Posted: Mon Mar 20, 2006 1:31 am
by s.dot
i use scrollIntoView(false)

works perfectly