Page 1 of 1

Div scrollbar position

Posted: Fri May 28, 2004 1:33 pm
by PrObLeM
I have a div that has scroll bars in it and i want it (onload) have the scrollbar position on the bottom of the div

is that possible?

Posted: Fri May 28, 2004 2:47 pm
by johnperkins21
Could you set the focus at the end of the scrollable div? That would put it down there wouldn't it?

Posted: Fri May 28, 2004 5:13 pm
by leenoble_uk
Maybe if it was an iframe instead of a div with overflow you could use scrollTo

Posted: Fri May 28, 2004 5:19 pm
by feyd
personally, I'd go with the focus idea, maybe tossing a blur() just after it, so the focus doesn't linger in the wrong place..

Posted: Fri Jun 04, 2004 5:04 am
by dave420
Or, you could use the scrollIntoView() DHTML method, made for just this occasion :)