TOC PREV NEXT INDEX

domref



rows


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

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

The contentDocument property returns the document the frame contains, if any.
The contentWindow property returns the window object for the frame.

frameBorder gets/sets the border around the current frame.

The longDesc property specifies a url for a longer description of the contents of the current frame.
Gets/sets the height of the frame's margin in pixels.
Gets/sets the width of the frame's margin in pixels.
The name of the frame element.
Gets/sets whether the user can resize the current frame.
The scrolling property specifies whether the current frame should provide scrollbars or not.
The src property provides a url to load as content into the current frame.


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX