TOC PREV NEXT INDEX

domref



window.scrollByLines()


Scrolls the document by the given number of lines.

Syntax

window.scrollByLines(lines)
 

Parameters

lines is the number of lines.

Example

<button onclick="scrollByLines(10);">jump</button>
 

Notes

See also window.scrollBy(), window.scrollByPages().

Specification

DOM Level 0. Not part of specification.
 


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