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

Re: scrolling within a DIV dynamically

From: Batsis Manolis <xcircuit@yahoo.com>
Date: Fri, 3 Nov 2000 00:39:24 -0800 (PST)
Message-ID: <20001103083924.14067.qmail@web1001.mail.yahoo.com>
To: www-style@w3.org
Right now i have exactly the same problem... and i
just dont want to use an <iframe> for compatibility

--- Chris Basken <chriz@basken.com> wrote:
> 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?

Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
Received on Friday, 3 November 2000 03:39:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:55 UTC