This property sets or returns the number of rows of frames in the frameset.
Syntax
rows = frameSetElement.rows
frameSetElement.rows = rows
Parameters
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