cols
This property sets or returns the size of the columns of frames in the frameset.
Syntax
cols = frameSetElement.cols frameSetElement.cols = colsParameters
cols is the size of columns in the frameset as a comma-separated list.
Example
// element in HTML: <frameset id="fset" > fs = document.getElementById("fset"); fs.cols = "200, *"; // two columns of frames, first 200px
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. The number of values in the cols attribute determines how many frames there are; the "*" specifies that the column take up all of the remaining space.
Specification
Netscape Communications http://developer.netscape.com |