aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/window/locationbar/index.md
blob: 294652fb88e736a76293d17862dbb78ea643b43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
title: Window.locationbar
slug: Web/API/Window/locationbar
tags:
  - API
  - HTML DOM
  - Propriété
  - Reference
  - Window
translation_of: Web/API/Window/locationbar
---
<div>{{APIRef}}</div>

<p>Renvoie l'objet <code>locationbar</code>, dont la visibilité peut être vérifiée.</p>

<h2 id="Syntaxe">Syntaxe</h2>

<pre class="syntaxbox"><var>objRef</var> = window.locationbar
</pre>

<h2 id="Exemple">Exemple</h2>

<p>L'exemple HTML complet suivant montre comment la propriété <code>visible</code> de l'objet <code>locationbar</code> est utilisée.</p>

<pre class="brush:html">&lt;!DOCTYPE html&gt;
&lt;html lang="fr"&gt;
&lt;head&gt;
&lt;meta charset="UTF-8" /&gt;
&lt;title&gt;Divers tests DOM&lt;/title&gt;

&lt;script&gt;
var visible = window.locationbar.visible;
&lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
  &lt;p&gt;Divers tests DOM&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>

<h2 id="Spécifications">Spécifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Spécification</th>
   <th scope="col">Statut</th>
   <th scope="col">Commentaires</th>
  </tr>
  <tr>
   <td>{{SpecName('HTML WHATWG', 'browsers.html#dom-window-locationbar', 'Window.locationbar')}}</td>
   <td>{{Spec2('HTML WHATWG')}}</td>
   <td></td>
  </tr>
  <tr>
   <td>{{SpecName('HTML5 W3C', 'browsers.html#dom-window-locationbar', 'Window.locationbar')}}</td>
   <td>{{Spec2('HTML5 W3C')}}</td>
   <td></td>
  </tr>
 </tbody>
</table>

<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>

<p>{{Compat("api.Window.locationbar")}}</p>

<h2 id="Voir_également">Voir également</h2>

<ul>
 <li>{{domxref("window.locationbar")}}, {{domxref("window.menubar")}}, {{domxref("window.personalbar")}}, {{domxref("window.scrollbars")}}, {{domxref("window.statusbar")}}, {{domxref("window.toolbar")}}</li>
</ul>