TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX