rows
This property sets or returns the number of rows of frames in the frameset.
Syntax
rows = frameSetElement.rows frameSetElement.rows = rowsParameters
rows is the number of rows in the frameset.
Example
// element in HTML: <frameset id="fset" > fs = document.getElementById("fset"); fs.rows = 8; // eight rows of frames
Notes
The cols and rows properties are often used together to lay out the dimensions of a frameset in HTML. If these are not specified, then the frameset simply counts the number of frames it manages. For example, if you have a frameset like the one below, then blah blah...
Specification
DOM Level 2 -- HTMLFrameSetElement
FRAME
The frame object provides methods and properties for manipulating the HTML FRAME element. While many of the properties (e.g., frameBorder, marginWidth) handle the FRAME itself, the contentDocument property allows you to get the actual document contained in the subframe, which can then be futher manipulated.
Properties
Netscape Communications http://developer.netscape.com |