Frameset Object
Frameset 对象
The Frameset object represents an HTML frameset.
Frameset对象代表着一个HTML的frameset
IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).
Frameset Object Properties对象属性
Property | Description | IE | F | N | W3C |
---|---|---|---|---|---|
cols | Sets or returns the number of columns in the frameset | 5 | 1 | 6 | Yes |
id | Sets or returns the id of the frameset (In IE 4 this property is read-only) | 4 | 1 | No | |
rows | Sets or returns the number of rows in the frameset | 5 | 1 | 6 | Yes |
Frameset Object Methods对象方法
Method | Description | IE | F | N | W3C |
---|---|---|---|---|---|
blur() | Removes focus from the frameset | 5 | 1 | No | |
focus() | Gives focus to the frameset | 5 | 1 | No |
Frameset Object Events对象事件
Syntax: object.event_name="someJavaScriptCode"
语法: object.event_name="someJavaScriptCode"
Event | Description | IE | F | N | W3C |
---|---|---|---|---|---|
onBlur | Executes some code when the frameset loses focus | 5 | No | ||
onFocus | Executes some code when the frameset gets focus | 5 | No |