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/defaultstatus/index.html | 50 ------------------------ files/fr/web/api/window/defaultstatus/index.md | 50 ++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 files/fr/web/api/window/defaultstatus/index.html create mode 100644 files/fr/web/api/window/defaultstatus/index.md (limited to 'files/fr/web/api/window/defaultstatus') diff --git a/files/fr/web/api/window/defaultstatus/index.html b/files/fr/web/api/window/defaultstatus/index.html deleted file mode 100644 index 125688eca6..0000000000 --- a/files/fr/web/api/window/defaultstatus/index.html +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: Window.defaultStatus -slug: Web/API/Window/defaultStatus -tags: - - API - - HTML DOM - - NeedsCompatTable - - NeedsExample - - NeedsMarkupWork - - NeedsSpecTable - - Obsolete - - Propriété - - Reference - - Window -translation_of: Web/API/Window/defaultStatus ---- -

{{ obsolete_header(23) }}

- -

{{ APIRef() }}

- -

Obtient / définit le texte de la barre d'état pour la fenêtre donnée.

- -

Syntaxe

- -
var sMsg = window.defaultStatus;
-window.defaultStatus = sMsg;
-
- -

Paramètres

- - - -

Exemple

- -
<html>
- <body onload="window.defaultStatus='salut!';"/>
-  <button onclick="window.confirm('Êtes-vous sûr de vouloir quitter?');">confirmer</button>
- </body>
-</html>
-
- -

Notes

- -

Pour définir le statut une fois la fenêtre ouverte, utilisez {{domxref("window.status")}}.

- -

Spécification

- -

HTML5

diff --git a/files/fr/web/api/window/defaultstatus/index.md b/files/fr/web/api/window/defaultstatus/index.md new file mode 100644 index 0000000000..125688eca6 --- /dev/null +++ b/files/fr/web/api/window/defaultstatus/index.md @@ -0,0 +1,50 @@ +--- +title: Window.defaultStatus +slug: Web/API/Window/defaultStatus +tags: + - API + - HTML DOM + - NeedsCompatTable + - NeedsExample + - NeedsMarkupWork + - NeedsSpecTable + - Obsolete + - Propriété + - Reference + - Window +translation_of: Web/API/Window/defaultStatus +--- +

{{ obsolete_header(23) }}

+ +

{{ APIRef() }}

+ +

Obtient / définit le texte de la barre d'état pour la fenêtre donnée.

+ +

Syntaxe

+ +
var sMsg = window.defaultStatus;
+window.defaultStatus = sMsg;
+
+ +

Paramètres

+ + + +

Exemple

+ +
<html>
+ <body onload="window.defaultStatus='salut!';"/>
+  <button onclick="window.confirm('Êtes-vous sûr de vouloir quitter?');">confirmer</button>
+ </body>
+</html>
+
+ +

Notes

+ +

Pour définir le statut une fois la fenêtre ouverte, utilisez {{domxref("window.status")}}.

+ +

Spécification

+ +

HTML5

-- cgit v1.2.3-54-g00ecf