Easy Tutorial
❮ Jsref Isfinite Prop Style Fontweight ❯

Window moveBy() Method


Definition and Usage

The moveBy() method can move the window by a specified number of pixels relative to its current coordinates.

Syntax


Browser Support

All major browsers support the moveBy() method.


Example

Move the window 250 pixels relative to its current position:


❮ Jsref Isfinite Prop Style Fontweight ❯