Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


scrollBy Method

Causes the window to scroll relative to the current scrolled position by the specified x- and y-pixel offset.

Syntax

window.scrollBy( iX , iY )

Parameters

iX Required. Integer  that specifies the horizontal scroll offset, in pixels. Positive values scroll the window right, and negative values scroll it left.
iY Required. Integer  that specifies the vertical scroll offset, in pixels. Positive values scroll the window down, and negative values scroll it up.

Return Value

No return value.

Standards Information

There is no public standard that applies to this method.

Applies To

Platform Version
Win16:
Win32:
Windows CE:
Unix:
Mac:
 
window
Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.