www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 scroll Method
scroll Method

Causes the window to scroll to the specified x- and y-offset at the upper-left corner of the window.

Syntax

window.scroll(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

This method is provided for backward compatibility only. The recommended way to scroll a window is to use the scrollTo method.

Standards Information

There is no public standard that applies to this method.

Applies To

window
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG