DekGenius.com
Team LiB   Previous Section   Next Section
Window.moveBy( ) move a window to a relative position

Availability

JavaScript 1.2

Synopsis

window.moveBy(dx, dy)

Arguments

dx

The number of pixels to move the window to the right.

dy

The number of pixels to move the window down.

Description

moveBy( ) moves the window to the relative position specified by dx and dy. For security reasons, browsers may restrict scripts so they cannot move a window off the screen.

    Team LiB   Previous Section   Next Section