Home / Articles / Adobe Dreamweaver / Adobe Dreamweaver CS4 How-Tos: Using Framesets

Adobe Dreamweaver CS4 How-Tos: Using Framesets


  1. #26. Generating a Frameset
  2. #27. Formatting Framesets
  3. #28. Defining Links Between Frames

Chapter Description

Learn how to generate and format at frameset and define links between frames.

#28. Defining Links Between Frames

Defining links in framesets presents a special challenge. Since technically each frame in a frameset is a different HTML page, you need to click on a link in one page and have the link open in a different HTML page. And you have to “tell” the link what page to open in. Sounds confusing, but I’ll walk you through the whole process here.

For example, let’s see how this works in a simple, basic, two-frame frameset with a left navigation frame and a right main frame. Links clicked in the left frame open in the right frame. The right side of the frameset changes as new pages open in that frame depending on which link is clicked in the left frame.

This is done by defining a target frame for links. After you define a link for text or an image using the Property inspector (enter the linked page in the Link box), define a target for that link from the Target pop-up menu in the Property inspector.

When you generate a frameset from one of Dreamweaver’s frameset page designs, you automatically assign names to each frame within the frameset. These named frames show up in a list when you click the Target pop-up menu in the Property inspector (Figure 28).

Figure 28

Figure 28 Choosing a target for a link in a frameset.