Click to return to the DHTML, HTML     
scrollIntoView Method     select Method     DHTML Methods    
Web Workshop  |  DHTML, HTML & CSS

scrollTo Method


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

Syntax

window.scrollTo(iX, iY)

Parameters

iXRequired. Integer that specifies the horizontal scroll offset, in pixels.
iYRequired. 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.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

window



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.