w3pop.com :: ÍøÂçѧԺ :: HTML DOM :: DOM 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).
| 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 |
| Method ·½·¨ |
Description ÃèÊö |
IE | F | N | W3C |
|---|---|---|---|---|---|
| blur() | Removes focus from the frameset ´Ó¿ò¼Ü¼¯ÒƳý½¹µã |
5 | 1 | No | |
| focus() | Gives focus to the frameset Èÿò¼Ü¼¯µÃµ½½¹µã |
5 | 1 | No |
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