diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:17 -0500 |
commit | da78a9e329e272dedb2400b79a3bdeebff387d47 (patch) | |
tree | e6ef8aa7c43556f55ddfe031a01cf0a8fa271bfe /files/it/web/api/window/locationbar | |
parent | 1109132f09d75da9a28b649c7677bb6ce07c40c0 (diff) | |
download | translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.gz translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.bz2 translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.zip |
initial commit
Diffstat (limited to 'files/it/web/api/window/locationbar')
-rw-r--r-- | files/it/web/api/window/locationbar/index.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/files/it/web/api/window/locationbar/index.html b/files/it/web/api/window/locationbar/index.html new file mode 100644 index 0000000000..583c6def10 --- /dev/null +++ b/files/it/web/api/window/locationbar/index.html @@ -0,0 +1,43 @@ +--- +title: Window.locationbar +slug: Web/API/Window/locationbar +translation_of: Web/API/Window/locationbar +--- +<div>{{APIRef}}</div> + +<p>Restituisce l'oggetto <code>locationbar</code>, che può essere reso invisibile.</p> + +<h2 id="Sintassi" name="Sintassi">Sintassi</h2> + +<pre class="eval"><i>oggetto</i> = window.locationbar +</pre> + +<h2 id="Esempio" name="Esempio">Esempio</h2> + +<p>Il seguente esempio completo mostra un possibile modo per utilizzare la proprietà visible dei vari oggetti "bar" (quelli che rappresentano una qualsiasi barra); mostra anche come cambiare i privilegi necessari per modificare tale proprietà.</p> + +<p>The following complete HTML example shows way that the visible property of the various "bar" objects is used, and also the change to the privileges necessary to write to the visible property of any of the bars on an existing window.</p> + +<pre><html> +<head> + <title>Esperimenti sul DOM</title> + <script> + // modifico lo stato della barra in questa finestra + netscape.security.PrivilegeManager. + enablePrivilege("UniversalBrowserWrite"); + window.statusbar.visible=!window.statusbar.visible; + </script> +</head> +<body> + <p>Esperimenti sul DOM</p> +</body> +</html> +</pre> + +<h2 id="Note" name="Note">Note</h2> + +<p>Quando si carica l'esempio sopra riportato, il browser mostra una finestra di avviso. Si veda anche: <a href="it/DOM/window.menubar">window.menubar</a>, <a href="it/DOM/window.personalbar">window.personalbar</a>, <a href="it/DOM/window.scrollbars">window.scrollbars</a>, <a href="it/DOM/window.statusbar">window.statusbar</a>, <a href="it/DOM/window.toolbar">window.toolbar</a></p> + +<h2 id="Specifiche" name="Specifiche">Specifiche</h2> + +<p>HTML5</p> |