• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 9. Working with Frames > Adding Frames and Framesets

Adding Frames and Framesets

GoLive allows you to create framesets in a wide variety of configurations. The Frames tab of the Objects palette suggests a number of options, including the simple two-frame arrangement I've been using in this chapter. You can also modify existing framesets by adding new frames, one at a time. You can even use multiple framesets on the same page, creating nested framesets, though this is not usually a good idea. Because more framesets create denser code and because they add even more variability than usual to the way different browsers display frames, be extremely careful with nested framesets, avoiding them when possible.

To add a single frame:

Open the frameset.html document you've been working with and switch to the Frames Editor.

Drag the Frame icon (Figure 9.13) from the Objects palette to the main window, dropping it into the body frame. A new frame appears.

Figure 9.13. Add a single frame to your frameset with the Object palette's Frame icon.

Click the new frame and drag it upward so that it switches places with the body frame, as shown in Figure 9.14. I'm going to use this frame as a banner.

Figure 9.14. Dragging a frame upward and over another frame causes the frames to switch places.

Click the new frame. Now you can use the Frame Inspector to resize it.

In the Size popup of the Frame Inspector, note that the default setting is Scale. Choose Percent from the menu. You can now enter a number (try 25) that states the frame's size as a percentage of the available vertical space. The upper frame shrinks. Now you're ready to add content to your new frame by dragging an HTML file into it.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint