Name

Window.moveBy( ): move a window to a relative position — 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. See the security and usability considerations described under Window.moveTo( ).

Get JavaScript: The Definitive Guide, 5th Edition 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.