当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > DOM Frameset 对象

HTML DOM
DOM TableRow 对象
DOM Textarea 对象
DOM Window 对象

HTML DOM 中的 DOM Frameset 对象


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 992 ::
收藏到网摘: n/a

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 对象属性

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 对象方法

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 对象事件

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

评论 (0) All

登陆 | 还没注册?