You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
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 |