O'Reilly logo

Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition by Tom Negrino, Dori Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Frames, Frames, and More Frames

Frames are one of the most powerful features of HTML. In this chapter, we'll demonstrate how to harness the power of JavaScript to make frames even more powerful.

A frame consists of at least three pages of HTML. The first, called the frameset, sets up the dimensions of each of the child frames. The frameset is referred to in JavaScript as top or parent. The remainder of the pages fit into the panes that the frameset has created, and are the child pages. These can be named anything you choose. Figure 6.1 shows a frameset that creates two child frames, “left” and “content.”

Layout of a frameset that contains two frames, “left” and “content.”

Figure 6.1. Layout of a frameset ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required