diff options
author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:24 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
commit | 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch) | |
tree | 30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/window/menubar | |
parent | c05efa8d7ae464235cf83d7c0956e42dc6974103 (diff) | |
download | translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2 translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip |
convert content to md
Diffstat (limited to 'files/fr/web/api/window/menubar')
-rw-r--r-- | files/fr/web/api/window/menubar/index.md | 79 |
1 files changed, 31 insertions, 48 deletions
diff --git a/files/fr/web/api/window/menubar/index.md b/files/fr/web/api/window/menubar/index.md index 6e5fc9371d..8744ac7367 100644 --- a/files/fr/web/api/window/menubar/index.md +++ b/files/fr/web/api/window/menubar/index.md @@ -9,64 +9,47 @@ tags: - Window translation_of: Web/API/Window/menubar --- -<div>{{ APIRef() }}</div> +{{ APIRef() }} -<p>La propriété <code><strong>Window.menubar</strong></code> renvoie l'objet <code>menubar</code>, dont la visibilité peut être vérifiée.</p> +La propriété **`Window.menubar`** renvoie l'objet `menubar`, dont la visibilité peut être vérifiée. -<h2 id="Syntaxe">Syntaxe</h2> +## Syntaxe -<pre class="syntaxbox"><em>objRef</em> = <em>window</em>.menubar -</pre> + objRef = window.menubar -<h2 id="Exemple">Exemple</h2> +## Exemple -<p>L'exemple HTML complet suivant montre comment la propriété <code>visible</code> de l'objet <code>menubar</code> est utilisée.</p> +L'exemple HTML complet suivant montre comment la propriété `visible` de l'objet `menubar` est utilisée. -<pre class="brush:html"><html> -<head> - <title>Divers Tests DOM</title> - <script> +```html +<html> +<head> + <title>Divers Tests DOM</title> + <script> var visible = window.menubar.visible; - </script> -</head> -<body> - <p>Divers Tests DOM</p> -</body> -</html> -</pre> + </script> +</head> +<body> + <p>Divers Tests DOM</p> +</body> +</html> +``` -<h2 id="Spécifications">Spécifications</h2> +## Spécifications -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">Statut</th> - <th scope="col">Commentaire</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', 'browsers.html#dom-window-menubar', 'Window.menubar')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td></td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', 'browsers.html#dom-window-menubar', 'Window.menubar')}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td></td> - </tr> - </tbody> -</table> +| Spécification | Statut | Commentaire | +| ------------------------------------------------------------------------------------------------------------ | -------------------------------- | ----------- | +| {{SpecName('HTML WHATWG', 'browsers.html#dom-window-menubar', 'Window.menubar')}} | {{Spec2('HTML WHATWG')}} | | +| {{SpecName('HTML5 W3C', 'browsers.html#dom-window-menubar', 'Window.menubar')}} | {{Spec2('HTML5 W3C')}} | | -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> +## Compatibilité des navigateurs -<p>{{Compat("api.Window.menubar")}}</p> +{{Compat("api.Window.menubar")}} -<h2 id="Voir_également">Voir également</h2> +## Voir également -<ul> - <li>{{domxref("Window.locationbar")}}</li> - <li>{{domxref("Window.personalbar")}}</li> - <li>{{domxref("Window.scrollbars")}}</li> - <li>{{domxref("Window.statusbar")}}</li> - <li>{{domxref("Window.toolbar")}}</li> -</ul> +- {{domxref("Window.locationbar")}} +- {{domxref("Window.personalbar")}} +- {{domxref("Window.scrollbars")}} +- {{domxref("Window.statusbar")}} +- {{domxref("Window.toolbar")}} |