Window.length
Syntax
framesCount = window.length;
framesCount
is the number of frames.
Example
if (window.length) {
// this is a document with subframes
}
Specifications
Specification |
---|
HTML Standard # dom-length-dev |
framesCount = window.length;
framesCount
is the number of frames.if (window.length) {
// this is a document with subframes
}
Specification |
---|
HTML Standard # dom-length-dev |