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: Creating New Pages with JavaScript
This JavaScript creates new HTML pages entirely under scripted control, by embedding HTML into the script. It creates new HTML pages on the fly.