Easy Tutorial
❮ Prop Nav Platform Jsref Touppercase ❯

Window moveTo() Method


Definition and Usage

The moveTo() method moves the top-left corner of the window to a specified coordinates.

Syntax


Browser Support

All major browsers support the moveTo() method.

Note: Specifying moveTo(0,0) positions the window at the top-left corner in Opera.


Example

Example

Move the new window to the top-left corner of the screen:


❮ Prop Nav Platform Jsref Touppercase ❯