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
reasons...



--- 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.
http://experts.yahoo.com/
Received on Friday, 3 November 2000 03:39:29 GMT

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