Chapter 6: Working with Browser Windows

Return to Chapter 6

 

To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Moving Windows to a Specified Location

See it run: Moving Windows to a Specified Location

Script 6.14

This script uses the moveTo() method to move one or more windows to specified screen locations.