DekGenius.com
Team LiB   Previous Section   Next Section
Window.moveTo( ) move a window to an absolute position

Availability

JavaScript 1.2

Synopsis

window.moveTo(x, y)

Arguments

x

The X-coordinate of the new window position.

y

The Y-coordinate of the new window position.

Description

moveTo( ) moves the window so its upper-left corner is at the position specified by x and y. For security resasons, browsers may restrict this method so it cannot move a window offscreen.

    Team LiB   Previous Section   Next Section