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/top/index.html | 54 ---------------------------------- files/fr/web/api/window/top/index.md | 54 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 files/fr/web/api/window/top/index.html create mode 100644 files/fr/web/api/window/top/index.md (limited to 'files/fr/web/api/window/top') diff --git a/files/fr/web/api/window/top/index.html b/files/fr/web/api/window/top/index.html deleted file mode 100644 index 8fa533e6f9..0000000000 --- a/files/fr/web/api/window/top/index.html +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: Window.top -slug: Web/API/Window/top -tags: - - API - - HTML DOM - - NeedsExample - - Propriété - - Reference - - Window -translation_of: Web/API/Window/top ---- -
{{APIRef}}
- -

Renvoie une référence à la fenêtre la plus haute dans la hiérarchie des fenêtres

- -

Syntaxe

- -
var topWindow = window.top;
-
- -

Notes

- -

Là où la propriété {{domxref("window.parent")}} renvoie le parent immédiat de la fenêtre courante, window.top renvoie la fenêtre la plus haute dans la hiérarchie des objets de fenêtre.

- -

Cette propriété est particulièrement utile lorsque vous avez affaire à une fenêtre qui se trouve dans une subframe d'un ou de plusieurs parents, et que vous souhaitez accéder au jeu de frameset de niveau supérieur.

- -

Spécifications

- - - - - - - - - - - - - - - - - - - - - -
SpécificationStatutCommentaire
{{SpecName('HTML WHATWG', 'browsers.html#dom-top', 'window.top')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'browsers.html#dom-top', 'window.top')}}{{Spec2('HTML5 W3C')}}Spécification initiale
- -

Compatibilité des navigateurs

- -

{{Compat("api.Window.top")}}

diff --git a/files/fr/web/api/window/top/index.md b/files/fr/web/api/window/top/index.md new file mode 100644 index 0000000000..8fa533e6f9 --- /dev/null +++ b/files/fr/web/api/window/top/index.md @@ -0,0 +1,54 @@ +--- +title: Window.top +slug: Web/API/Window/top +tags: + - API + - HTML DOM + - NeedsExample + - Propriété + - Reference + - Window +translation_of: Web/API/Window/top +--- +
{{APIRef}}
+ +

Renvoie une référence à la fenêtre la plus haute dans la hiérarchie des fenêtres

+ +

Syntaxe

+ +
var topWindow = window.top;
+
+ +

Notes

+ +

Là où la propriété {{domxref("window.parent")}} renvoie le parent immédiat de la fenêtre courante, window.top renvoie la fenêtre la plus haute dans la hiérarchie des objets de fenêtre.

+ +

Cette propriété est particulièrement utile lorsque vous avez affaire à une fenêtre qui se trouve dans une subframe d'un ou de plusieurs parents, et que vous souhaitez accéder au jeu de frameset de niveau supérieur.

+ +

Spécifications

+ + + + + + + + + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('HTML WHATWG', 'browsers.html#dom-top', 'window.top')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'browsers.html#dom-top', 'window.top')}}{{Spec2('HTML5 W3C')}}Spécification initiale
+ +

Compatibilité des navigateurs

+ +

{{Compat("api.Window.top")}}

-- cgit v1.2.3-54-g00ecf