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.

Forcing a Page into a Frame

See it run: Forcing a Page into a Frame

Script 5.3

This HTML creates the frameset that the page will forced into.

Script 5.4

This JavaScript forces our page into the frameset.