Bryan Kyle wrote:

> Hi All;
> 
> I was hoping you guys could help me with something.  I'd like to know if
> there is any way to scroll a document programmatically.
> 
> Thanks in advance
> Bryan Kyle
> 
> 

Hi, you can use
window.scrollX (readonly)
window.scrollY (readonly)
window.scrollTo(xScroll, yScroll)
window.scrollBy(xScrollDif, yScrollDif)
window.scrollByLines(numLines)
window.scrollByPages(numPages)

For more information please see
http://mozilla.org/docs/dom/domref/dom_window_ref.html#1011624

-Fabian.



Reply via email to