Chapter 15

Using Frames and Framesets

In This Chapter

  • Examining the fundamentals of HTML frames and framesets
  • Creating frames in a new document, visually and with frame objects
  • Selecting, saving, and closing framesets
  • Dreamweaver Technique: Establishing a Frameset
  • Altering frame and frameset properties
  • Opening links in specific frames
  • Targeting multiple frames with a single click
  • Dreamweaver Technique: Setting Frame Targets
  • Inserting frameless content
  • Understanding iframes

The first time I fully appreciated the power of frames, I was visiting a site that displayed examples of what the webmaster considered “bad” web pages. The site was essentially a jump-station with a series of links. The author used a frameset with three frames: one that ran all the way across the top of the page, displaying a logo and other basic information; one narrow panel on the left with a scrolling set of links to the sites themselves; and the main viewing area, which took up two-thirds of the center screen. Selecting any of the links caused the site to appear in the main viewing frame.

I was astounded when I finally realized that each frame was truly an independent web page and that you didn’t have to use only web pages on your own site—you could link to any page on the Internet. That was when I also realized the amount of work involved in establishing a frame website: Every page displayed on that site used multiple HTML pages.

Be aware that the use of frames is controversial. Designers opposed to ...

Get Dreamweaver CS6 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.