我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
The HTMLFrameSetElement
interface provides special properties (beyond those of the regular HTMLElement
interface they also inherit) for manipulating <frameset>
elements.
Properties
Inherits properties from its parent, HTMLElement
and from WindowEventHandlers
.
HTMLFrameSetElement.cols
- Is a
DOMString
that represents the foreground color of text. HTMLFrameSetElement.rows
- Is a
DOMString
that represents the color of visited links.
Methods
No specific method; inherits methods from its parent, HTMLElement
and from WindowEventHandlers
.
Event handlers
No specific event handler; inherits event handlers from its parent, HTMLElement
and from WindowEventHandlers
.
WindowEventHandlers.onafterprint
- Is an
EventHandler
representing the code to be called when theafterprint
event is raised. WindowEventHandlers.onbeforeprint
- Is an
EventHandler
representing the code to be called when thebeforeprint
event is raised. WindowEventHandlers.onbeforeunload
- Is an
EventHandler
representing the code to be called when thebeforeunload
event is raised. WindowEventHandlers.onhashchange
- Is an
EventHandler
representing the code to be called when thehashchange
event is raised. WindowEventHandlers.onlanguagechange
- Is an
EventHandler
representing the code to be called when thelanguagechange
event is raised. WindowEventHandlers.onmessage
- Is an
EventHandler
representing the code to be called when themessage
event is raised. WindowEventHandlers.onoffline
- Is an
EventHandler
representing the code to be called when theoffline
event is raised. WindowEventHandlers.ononline
- Is an
EventHandler
representing the code to be called when theonline
event is raised. WindowEventHandlers.onpagehide
- Is an
EventHandler
representing the code to be called when thepagehide
event is raised. WindowEventHandlers.onpageshow
- Is an
EventHandler
representing the code to be called when thepageshow
event is raised. WindowEventHandlers.onpopstate
- Is an
EventHandler
representing the code to be called when thepopstate
event is raised. WindowEventHandlers.onresize
- Is an
EventHandler
representing the code to be called when theresize
event is raised. WindowEventHandlers.onstorage
- Is an
EventHandler
representing the code to be called when thestorage
event is raised. WindowEventHandlers.onunload
- Is an
EventHandler
representing the code to be called when theunload
event is raised.
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'HTMLFrameSetElement' in that specification. |
Living Standard | From the HTML5 snapshot, the WindowEventHandlers interface now have a onlanguagechange property. |
HTML5 The definition of 'HTMLFrameSetElement' in that specification. |
Recommendation | Snapshot of a previous WHATWG HTML Living Standard Frames are now obsolete. Implements WindowEventHandlers . |
Document Object Model (DOM) Level 2 HTML Specification The definition of 'HTMLBodyElement' in that specification. |
Recommendation | No change from Document Object Model (DOM) Level 1 Specification. |
Document Object Model (DOM) Level 1 Specification The definition of 'HTMLBodyElement' in that specification. |
Recommendation | Initial definition. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 1.0 | 1.0 (1.7 or earlier) | 4.0 | (Yes) | (Yes) |
onXYZ event handlers |
(Yes) | (Yes) | ? | ? | ? |
onlanguage |
? | 32 (32) | ? | ? | ? |
onstorage |
? | 45 (45) | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | (Yes) | 1.0 (1.0) | (Yes) | (Yes) | (Yes) |
onXYZ event handlers |
(Yes) | (Yes) | ? | ? | ? |
onlanguage |
? | 32.0 (32) | ? | ? | ? |
onstorage |
? | 45.0 (45) | ? | ? | ? |
See also
- HTML element implementing this interface:
<frameset>
- The equivalent of this element outside of frames:
HTMLBodyElement
.