NS IE

<FRAMESET>...</FRAMESET>

Container for denoting a document as a framed document. This means that the page is constructed from more than one HTML document. A browser that supports frames will show each HTML document in its own frame (window).

A frame document has no BODY becouse all the data comes inside the used frames. Inside this tag only the FRAMESET, FRAME and NOFRAMES tags are valid.

The FRAMESET tag can be nested inside other FRAMESET tags. In this case the complete subframe is placed in the space that would be used for the corresponding frame if this had been a FRAME tag instead of a nested FRAMESET.

It is possible to design a FRAMESET that will recurse infinitely stacking the same FRAMESET inside itself. Consider the following example:

 <FRAMESET rows="50%,50%">
  <FRAME src=parents_url>
  <FRAME>
 </FRAMESET>

This has been prevented. Any frame that attempts to assign its SRC url to be the same as the url of any of its ancestors will be treated as if it has no SRC url at all (basically a blank frame).

BORDER
NS
Give the frame a border of a number of pixels.

BORDERCOLOR
NS
Provides the option to display or not display a border for included frames. Possible values are YES and NO.

COLS
NS IE
This attribute determines the number of columns the frameset should have. A frameset can have the COLS attribute or the ROWS attribute, but not both.
The COLS attribute takes as its value a comma separated list of values that is of the exact same syntax as the list described for the ROWS attribute.

FRAMEBORDER
NS
Provides the option to display or not display a border for included frames. Possible values are YES and NO.

FRAMESPACING
NS IE
Creates additional space between frames. The value specifies a border of the supplied number of pixels around the frame.

ONBLUR
NS
Specifies JavaScript code to execute when the window containing the frameset loses focus. This means that it will be executed when you change the active window to another window than the one which contains the frameset.

ONFOCUS
NS
Specifies JavaScript code to execute when the window containing the frameset gets focus. This means that it will be executed when you change the active window to the window which contains the frameset.

ONLOAD
NS
Specifies JavaScript code to execute when the frameset is loaded. This code will be executed after the pages within the frameset have been fully loaded.

ONUNLOAD
NS
Specifies JavaScript code to execute when the frameset is unloaded. This code will be executed before you leave the page which contains the frameset.

ROWS
NS IE
This attribute determines the number of rows the frameset should have. A frameset can have the COLS attribute or the ROWS attribute, but not both.
The attribute takes as its value a comma separated list of values. These values can be absolute pixel values, percentage values between 1 and 100, or relative scaling values. The number of rows is implicit in the number of elements in the list. Since the total height of all the rows must equal the height of the window, row heights might be normalized to achieve this. A missing ROWS attribute is interpreted as a single row arbitrarily sized to fit.

Syntax of value list :

value
A simple numeric value is assumed to be a fixed size in pixels. This is the most dangerous type of value to use since the size of the viewer's window can and does vary substantially. If fixed pixel values are used, it will almost certainly be necessary to mix them with one or more of the relative size values described below. Otherwise the client engine will likely override your specified pixel value to ensure that the total proportions of the frame are 100% of the width and height of the user's window.
value%
This is a simple percentage value between 1 and 100. If the total is greater than 100 all percentages are scaled down. If the total is less than 100, and relative-sized frames exist, extra space will be given to them. If there are no relative-sized frames, all percentages will be scaled up to match a total of 100%.
value*
The value on this field is optional. A single '*' character is a "relative-sized" frame and is interpreted as a request to give the frame all remaining space. If there exist multiple relative-sized frames, the remaining space is divided evenly among them. If there is a value in front of the '*', that frame gets that much more relative space. "2*,*" would give 2/3 of the space to the first frame, and 1/3 to the second.

 
Source:
Go and visit another <A HREF=FRAME1.html>framed</A> document.
 
Result: Go and visit another framed document.


Statistics Copyright © 1996, 1997 Rob Schlüter
Last updated 1997/05/01
Email: schluter@knoware.nl