PropagandaMedia > Dreamweaver tutorials > Intermediate > Frames

| Definitions | Attributes | Why use Frames? | Frame Sets | Nested Frames | Targeting Links | Borders |

Definitions

Frame attributes determine the frame name, source file, margins, scrolling, and resizing for individual frames within a frameset.

What a user sees as a single webpage with two frames is actually three seperate files: the frameset file and two files containing the content that appears inside the frames.

A frameset is a file that defines a webpage with frsmes A frameset stores information about the size and location of the page's frames along with the names of the files that should be loaded as the content for each of the frames.

Back to the top

Attributes

Frame Attributes

Frame Attributes

Frame
Determines the name of the current frame to use for hyperlink target and scripting references.
Src (Source)
Determines the Source of the current frame to use for hyperlink target and scripting references.
Scroll
Determines whether scroll bars appear when tghere is not enough room to display the cotent of the current frame.
No Resize
Makes the current frame nonresizable and prevents the users from dragging the frame borders.
Borders
Controls the border of the current frame.
Border Color
Sets the border color for al borders adjacent to the current frame.
Margin Width
Sets the width in pixels of the left and right margins (the space between the frame border and the content).
Margin Height
Sets the height in pixels of the top and bottom margins (the space between the frame borders and the content).
Frameset Attributes

Frameset Attributes

Borders
Controls the border of the current frame.
Border Width
Specifies the width of the borders in the current frameset.
Border Color
Sets the border color for al borders adjacent to the current frame.
Value
Specifies the size of the selected row or column.
Units
Specifies whether the selected row or column is a fixed size (pixels), a percentage of the browser window, or expands or contracts to fill the remaining space in the window (relative).
RowCol Selection
Identifies the selected row or column.

 

Back to the top

Why use Frames?

Frames divide web pages so that different files can be loaded into defined areas on the same page. Frames commonly define a navigation area and a content area for a page.

Back to the top

Frame Sets

Frameset Attributes control the dimensions of the frames and the color and width of the borders between frames.

Back to the top

Nested Frames

Splitting an existing frame creates a new frameset inside the current frameset file.

A frameset inside another frameset is called a nested frameset.

Back to the top

Targeting Links

Use a link in one frame to change the content in anoter frame
_blank loads the linked file into a new, unnamed browser window.

_parent loads the linked file into the parent frameset or window of the frame that contains the link.

_self loads the linked file into the same frame or window as the link

Back to the top

Borders

You can specify how frame and frameset borders appear on the page. When you specify border options for a frame, the coresponding frameset option is overridden.

Border attibutes: Frames

Borders
Controls the border of the current frames.
Border Color
Sets a border color for all borders adjacent to the current frame.

Border attributes: Framesets

Borders
Controls the border of the current frameset.
Border Color
Sets a border color for all borders adjacent to the current frameset.
Border Width
Specifies the width of the borders in the current frameset.
Back to the top
< Tables