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.

Opening a New Window

See it run: Opening a New Window

Script 6.1

This HTML page calls the external JavaScript that opens a new window.

Script 6.2

This JavaScript opens a new window.