Opening a New Window
Loading Different Contents into a Window
Opening Multiple Windows
Opening Multiple Windows Simultaneously
Updating One Window from Another
Creating New Pages with JavaScript
Closing a Window
Opening Windows in a Specified Location
Moving Windows to a Specified Location
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.
See it run: Loading Different Contents into a Window
With this JavaScript, you can open a new window and fill it with a variety of content, triggered by clicking different links.