From c05efa8d7ae464235cf83d7c0956e42dc6974103 Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:14 +0200 Subject: move *.html to *.md --- files/fr/web/api/window/length/index.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 files/fr/web/api/window/length/index.md (limited to 'files/fr/web/api/window/length/index.md') diff --git a/files/fr/web/api/window/length/index.md b/files/fr/web/api/window/length/index.md new file mode 100644 index 0000000000..af1ee54111 --- /dev/null +++ b/files/fr/web/api/window/length/index.md @@ -0,0 +1,27 @@ +--- +title: Window.length +slug: Web/API/Window/length +translation_of: Web/API/Window/length +--- +
{{ ApiRef() }}
+ +

Retourne le nombre de frames (soit des éléments de frame ou iframe) présent sur la page.

+ +

Syntaxe

+ +
nombreDeFrames= window.length;
+
+ + + +

Exemple

+ +
if (window.length) {
+  // La page contient des frames
+}
+ +

Specification

+ +

{{DOM0}}

-- cgit v1.2.3-54-g00ecf