## Specifying the layout of a frame-based page

The frameset page allows you to specify the layout and behavior of the frames in the frameset, including:

- Whether there is a border between frames, and if so, its width.
- Whether frames are fixed width/height, or change in proportion to the size of the browser window.
- Whether scroll bars are displayed if the content of the frame will not fit within its current size.
- Whether a frame can be resized by the visitor.

### To specify the width or height of a frame.

Either:

- In the Freeway window, position the mouse pointer on the border between two frames until it changes to a resize symbol.
- Drag to resize the frame.

Or:

- Click the frame in the frameset window to select it.
- Click the frameset icon at the top of the Inspector palette to show the frameset settings.
- Click the [Arrow] to the left of the Current Frame heading to display the current frame section.
- Edit the size in the Size box:

- Click the px button to specify the size as a fixed width or height in pixels, or the % button to specify the size as a percentage of the width or height of the browser window.

### To make the frame fill the browser window

A typical requirement is to make the top navigation bar and side address bar both have fixed sizes, and make the size of the main frame flexible so it expands to fill the browser window.

- Set the size of the upper and left frames to fixed values.
- Select the main frame and uncheck the Size checkbox:

The main frame will now expand to fill the browser window.

### To specify how the frame scrolls

- Click the frameset icon at the top of the Inspector palette to show the frameset settings.
- In the Current Frame section choose the appropriate option from the Scroll pop-up menu:

The following options are available:

Option | Description
Auto | Displays scroll bars only when necessary to display the content.
Yes | Always displays scroll bars even if the content fits.
No | Never displays scroll bars, even if the content does not fit.

### To specify a border between frames

- Select the frameset.
- Click the frameset icon at the top of the Inspector palette to show the frameset settings.
- In the General section edit the value in the border field:

The frames will be displayed with the border you specified.

### To create a new frameset within a frame

This technique is necessary when adding frames of a different orientation from the other frames in the window.

- Select the frame by clicking inside it.

The frame will be highlighted with a gray border.

- Open the Page menu and choose Split Vertical or Split Horizontal from the Frames submenu.

A nested frameset will be created in the frame, dividing the frame into two parts. Each of the two new frames can either be given a source page or subdivided further using the Split Horizontal or Split Vertical command.

### To add more frames at the same level

- Select one of the existing frames.
- Open the Page menu, choose Frames, then choose Insert Frame... from the submenu, or click the Add Frame icon in the Frames palette:

A dialog box allows you to choose where the new frame is to be inserted:

- Specify the position for the new frame and click the OK button.

A new frame is added to the same frameset as the selected frame.

### To add frames by dragging

Either:

- Hold down [Option] and drag the dividing border between two frames in the same frameset to add a new frame at the same level.

Or:

- Hold down [Option] and drag the border between a frame and the edge of the window to add a new frame in the same frameset, or create a new frame in the enclosing frameset.

### To change the orientation of the frames in the frameset

- Select the frameset, or a frame within it.
- Click the frameset icon at the top of the Inspector palette to show the frameset settings.
- Click the [Arrow] to the left of the Current Frameset heading:

- Select the Vertical checkbox to specify that the frame should be vertical or uncheck it to make the frame horizontal.

### To remove a frame

- Select the frame.

Either:

- Open the Page menu, choose Frames, then choose Delete Frame from, the submenu.

Or:

- Press [Backspace] or [Delete].

Or:

- Click the Delete icon in the Frames palette.

The selected frame will be deleted.

If you attempt to delete one of the only two remaining frames defined for a frameset page, Freeway will display a dialog box asking you to confirm your choice:

- Click the OK button to delete the frameset altogether and revert the page from a frameset page to a normal page.

Contents