Frameset Object
The Frameset object represents an HTML frameset.
The Frameset object's properties, methods, and events are
described below:
N: Netscape (including Mozilla when N6 or higher), IE: Internet Explorer, W3C: World Wide Web Consortium (Internet Standard)
Properties
Syntax: object.property_name
Property |
Description |
N |
IE |
W3C |
cols |
Sets or returns the number of columns of frames in the
frameset |
6 |
5 |
Yes |
id |
Sets or returns the id of the frameset (In IE 4 this
property is read-only) |
|
4 |
No |
rows |
Sets or returns the number of rows of frames in the
frameset |
6 |
5 |
Yes |
Methods
Syntax: object.method_name()
Method |
Description |
N |
IE |
W3C |
blur() |
Removes focus from the frameset |
|
5 |
No |
focus() |
Gives focus to the frameset |
|
5 |
No |
Events
Syntax: object.event_name="someJavaScriptCode"
Event |
Description |
N |
IE |
W3C |
onBlur |
Executes some code when the frameset loses focus |
|
5 |
No |
onFocus |
Executes some code when the frameset gets focus |
|
5 |
No |
|