Chapter 5: Frames, Frames, and More Frames

Return to Chapter 5

 

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.

Setting a Target

See it run: Setting a Target

Script 5.7

When you're using HTML Strict in your frameset, you need JavaScript to set frame targets. This HTML file calls the external JavaScript file.

Script 5.8

This JavaScript sets the frame targets.