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.

Loading Different Contents into a Window

See it run: Loading Different Contents into a Window

Script 6.3

With this JavaScript, you can open a new window and fill it with a variety of content, triggered by clicking different links.

Images:

dw8.jpg
js6e.jpg
ppt.jpg