TOC PREV NEXT INDEX

domref



window.scrollByPages()


Scrolls the current document by the specified number of pages.

Syntax

window.scrollByPages(pages)
 

Parameters

pages is the number of pages to scroll.

Example

// scroll one page
 
window.scrollByPages(1);
 

Notes

See also window.scrollBy(), window.scrollByLines(), window.scroll(), window.scrollTo().

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX