I volontari di MDN non hanno ancora tradotto questo articolo in Italiano. Registrati per tradurlo tu.
Summary
Returns the number of frames (either frame or iframe elements) in the window.
Syntax
framesCount = window.length;
framesCountis the number of frames.
Example
if (window.length) {
// this is a document with subframes
}
Specification
| Specification | Status | Comment |
|---|---|---|
| WHATWG HTML Living Standard The definition of 'Window.length' in that specification. |
Living Standard |