W3C home > Mailing lists > Public > www-style@w3.org > November 2000

scrolling within a DIV dynamically

From: Chris Basken <chriz@basken.com>
Date: Thu, 2 Nov 2000 11:42:47 -0500
To: <www-style@w3.org>
Message-ID: <NEBBKMBFKDLELKAAEINJAEJFCBAA.chriz@basken.com>
hey all.

does anyone know how to scroll within a DIV using JS (or even HTML, if
possible)?

i'm filling a DIV with content, and i have scrolling set to auto.  as the
DIV fills, i'd like to keep the bottom-most line readable, and scroll the
older stuff off the top.  right now, it adds content to the bottom, but the
"focus" (so to speak) stays at the top of the DIV.

did that make sense?
Received on Thursday, 2 November 2000 11:45:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT