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.

Loading Iframes with JavaScript

See it run: Loading Iframes with JavaScript

Script 5.19

This JavaScript loads HTML pages into the content iframe.