이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!
Summary
Returns the number of frames (either <frame>
or <iframe>
elements) in the window.
Syntax
framesCount = window.length;
framesCount
is the number of frames.
Example
if (window.length) { // this is a document with subframes }
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'Window.length' in that specification. |
Living Standard | |
HTML5 The definition of 'Window.length' in that specification. |
Recommendation |