Syntax
framesCount = window.length;
framesCount
ist die Anzahl an Frames.
Beispiel
if (window.length) {
// this is a document with subframes
}
Spezifikationen
Specification | Status | Comment |
---|---|---|
HTML Living Standard Die Definition von 'Window.length' in dieser Spezifikation. |
Lebender Standard | |
HTML5 Die Definition von 'Window.length' in dieser Spezifikation. |
Empfehlung |
Browserkompatibilität
BCD tables only load in the browser
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.