Window.moveBy() (Method)

Move the window by a specified distance.


JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Property/method value type:undefined
JavaScript syntax:-moveBy(anOffsetX, anOffsetY)
-myWindow.moveBy(anOffsetX, anOffsetY)
Argument list:anOffsetXA distance in pixels
anOffsetYA distance in pixels

This method will translate a window across the screen. Positive values move the window to the right and down while negative values move the window to the left and up.


See also:Frame object, UniversalBrowserWrite, Window object, Window.moveTo(), Window.onmove, Window.pageXOffset, Window.pageYOffset, Window.resizeBy(), Window.resizeTo(), Window.scrollBy()

insert figure 0068