'moveBy()' Syntax, Parameters and Note : moveBy « Javascript Methods « JavaScript Reference

'moveBy()' Syntax, Parameters and Note

Note:

Moves the window by the specified horizontal and vertical offsets.
    
Syntax:
    
window.moveBy(param1, param2)

Parameters:
    param1   Required; the horizontal offset in pixels.
    param2   Required; the vertical offset in pixels.

    

      
      








Related examples in the same category

1.'moveBy()' Example
2.'moveBy()' is applied to