Name
moveTo( ) — NN 4 IE n/a DOM n/a
Synopsis
moveTo(x
, y
)
Convenience method that shifts the location of the current window to
a specific coordinate point. The moveTo( )
method
uses the screen coordinate system.
Returned Value
None.
Parameters
-
x
Positive or negative pixel count relative to the top of the screen.
-
y
Positive or negative pixel count relative to the left edge of the screen.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.