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

1st JavaScript Editor.


scrollTo Method

Scrolls the window to the specified x- and y-offset.

Syntax

window.scrollTo( iX , iY )

Parameters

iX Required. Integer  that specifies the horizontal scroll offset, in pixels.
iY Required. Integer  that specifies the vertical scroll offset, in pixels.

Return Value

No return value.

Remarks

The specified offsets are relative to the upper-left corner of the window.

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.