diff options
| author | Ryan Johnson <rjohnson@mozilla.com> | 2021-04-29 16:16:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-29 16:16:42 -0700 |
| commit | 95aca4b4d8fa62815d4bd412fff1a364f842814a (patch) | |
| tree | 5e57661720fe9058d5c7db637e764800b50f9060 /files/it/web/api/mouseevent | |
| parent | ee3b1c87e3c8e72ca130943eed260ad642246581 (diff) | |
| download | translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2 translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip | |
remove retired locales (#699)
Diffstat (limited to 'files/it/web/api/mouseevent')
| -rw-r--r-- | files/it/web/api/mouseevent/altkey/index.html | 48 | ||||
| -rw-r--r-- | files/it/web/api/mouseevent/button/index.html | 59 | ||||
| -rw-r--r-- | files/it/web/api/mouseevent/ctrlkey/index.html | 46 | ||||
| -rw-r--r-- | files/it/web/api/mouseevent/metakey/index.html | 32 | ||||
| -rw-r--r-- | files/it/web/api/mouseevent/shiftkey/index.html | 47 |
5 files changed, 0 insertions, 232 deletions
diff --git a/files/it/web/api/mouseevent/altkey/index.html b/files/it/web/api/mouseevent/altkey/index.html deleted file mode 100644 index b282dcb2ee..0000000000 --- a/files/it/web/api/mouseevent/altkey/index.html +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: event.altKey -slug: Web/API/MouseEvent/altKey -tags: - - DOM - - Gecko - - Reference_del_DOM_di_Gecko - - Tutte_le_categorie -translation_of: Web/API/MouseEvent/altKey -translation_of_original: Web/API/event.altKey -original_slug: Web/API/Event/altKey ---- -<p>{{ ApiRef() }}</p> -<h3 id="Sommario" name="Sommario">Sommario</h3> -<p>Indica se il tasto ALT era premuto mentre l'evento si verificava.</p> -<h3 id="Syntax" name="Syntax">Syntax</h3> -<pre class="eval"><i>bool</i> = event.altKey -</pre> -<p><code>bool</code> vale <code>true</code> se il tasto ALT era premuto, altrimenti <code>false</code>.</p> -<h3 id="Esempio" name="Esempio">Esempio</h3> -<pre><html> -<head> -<title>esempio tasto ALT</title> - -<script type="text/javascript"> - -function mostraCarattere(e){ - alert( - "Tasto premuto: " + String.fromCharCode(e.charCode) + "\n" - + "Codice carattere: " + e.charCode + "\n" - + "Tasto ALT premuto: " + e.altKey + "\n" - ); -} - -</script> -</head> - -<body onkeypress="mostraCarattere(event);"> -<p> -Prova a premere un tasto tenendo premuto ALT e prova a premere un tasto senza premere ALT.<br /> -Puoi anche provare a premere ALT+SHIFT. -</p> -</body> -</html> -</pre> -<h3 id="Specifiche" name="Specifiche">Specifiche</h3> -<p><a class="external" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-MouseEvent-altKey">altKey </a></p> -<p>{{ languages( { "en": "en/DOM/event.altKey", "pl": "pl/DOM/event.altKey" } ) }}</p> diff --git a/files/it/web/api/mouseevent/button/index.html b/files/it/web/api/mouseevent/button/index.html deleted file mode 100644 index ff3d67d702..0000000000 --- a/files/it/web/api/mouseevent/button/index.html +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: event.button -slug: Web/API/MouseEvent/button -tags: - - DOM - - Gecko - - Reference_del_DOM_di_Gecko - - Tutte_le_categorie -translation_of: Web/API/MouseEvent/button -translation_of_original: Web/API/event.button -original_slug: Web/API/Event/button ---- -<p>{{ ApiRef() }}</p> -<h3 id="Sommario" name="Sommario">Sommario</h3> -<p>Restituisce un intero che indica quale tasto del mouse è stato premuto.</p> -<h3 id="Sintassi" name="Sintassi">Sintassi</h3> -<pre>var codiceBottone = event.button; -</pre> -<p>codiceBottone può assumere uno dei seguenti valori:</p> -<ul> - <li>0 standard click, di solito il tasto sinistro</li> - <li>1 tasto centrale, che di solito è la rotella</li> - <li>2 tasto destro</li> -</ul> -<p>L'ordine dei bottoni è inverso se il mouse è configurato per l'utilizzo da parte dei mancini.</p> -<h3 id="Esempio" name="Esempio">Esempio</h3> -<pre><script type="text/javascript"> - -function qualeTasto(e) -{ - var e = e || window.event; - var codiceTasto; - - if ('object' == typeof e){ - codiceTasto = e.button; - - switch (codiceTasto){ - case 0 : alert('Hai premuto il tasto sinistro'); - break; - case 1 : alert('Hai premuto il tasto centrale'); - break; - case 2 : alert('Hai premuto il tasto destro'); - break; - default : alert('Codice sconosciuto: ' + btnCode); - } - } -} - -</script> - -<p onclick="qualeBottone(event);">Clicca con il mouse...</p> - -</pre> -<h3 id="Note" name="Note">Note</h3> -<p>Poichè i click del mouse spesso vengono intercettati dall'interfaccia utente, in alcuni casi potrebbe essere difficile rilevare la pressione di un bottone che non sia quello standard (generalmente il sinistro).</p> -<p>Gli utenti possono cambiare la configurazione dei tasti del loro dispositivo di puntamento in modo tale che se il valore di codiceBottone è 0, questo non è causato dal tasto che si trova fisicamente a sinistra, ma questo non ha molta importanza.</p> -<h3 id="Specifiche" name="Specifiche">Specifiche</h3> -<p>DOM 2 Events Specification: <a class="external" href="http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-MouseEvent-button">button</a></p> -<p>{{ languages( { "en": "en/DOM/event.button", "pl": "pl/DOM/event.button" } ) }}</p> diff --git a/files/it/web/api/mouseevent/ctrlkey/index.html b/files/it/web/api/mouseevent/ctrlkey/index.html deleted file mode 100644 index c4ce9255e8..0000000000 --- a/files/it/web/api/mouseevent/ctrlkey/index.html +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: event.ctrlKey -slug: Web/API/MouseEvent/ctrlKey -tags: - - DOM - - Gecko - - Reference_del_DOM_di_Gecko - - Tutte_le_categorie -translation_of: Web/API/MouseEvent/ctrlKey -translation_of_original: Web/API/event.ctrlKey -original_slug: Web/API/Event/ctrlKey ---- -<p>{{ ApiRef() }}</p> -<h3 id="Sommario" name="Sommario">Sommario</h3> -<p>Indica se il tasto CTRL è stato premuto mentre l'evento si verificava.</p> -<h3 id="Sintassi" name="Sintassi">Sintassi</h3> -<pre class="eval"><i>bool</i> = event.ctrlKey -</pre> -<p><code>bool</code> vale <code>true</code> se il tasto CTRL era premuto, altrimenti <code>false</code>.</p> -<h3 id="Esempio" name="Esempio">Esempio</h3> -<pre><html> -<head> -<title>esempio tasto control</title> - -<script type="text/javascript"> - -function mostraCarattere(e){ - alert( - "Tasto premuto: " + String.fromCharCode(e.charCode) + "\n" - + "Codice carattere: " + e.charCode + "\n" - + "Tasto CTRL premuto: " + e.ctrlKey + "\n" - ); -} - -</script> -</head> - -<body onkeypress="mostraCarattere(event);"> -<p>Prova a premere un tasto tenendo premuto CTRL e prova a premere un tasto senza premere CTRL.<br /> -Puoi anche provare a premere CTRL+SHIFT.</p> -</body> -</html> -</pre> -<h3 id="Specifiche" name="Specifiche">Specifiche</h3> -<p><a class="external" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-MouseEvent-ctrlKey">ctrlKey </a></p> -<p>{{ languages( { "en": "en/DOM/event.ctrlKey", "pl": "pl/DOM/event.ctrlKey" } ) }}</p> diff --git a/files/it/web/api/mouseevent/metakey/index.html b/files/it/web/api/mouseevent/metakey/index.html deleted file mode 100644 index b97904a5d4..0000000000 --- a/files/it/web/api/mouseevent/metakey/index.html +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: event.metaKey -slug: Web/API/MouseEvent/metaKey -tags: - - DOM - - Gecko - - Reference_del_DOM_di_Gecko - - Tutte_le_categorie -translation_of: Web/API/MouseEvent/metaKey -translation_of_original: Web/API/event.metaKey -original_slug: Web/API/Event/metaKey ---- -<p>{{ ApiRef() }}</p> -<h3 id="Sommario" name="Sommario">Sommario</h3> -<p>Indica se il tasto META era premuto mentre l'evento si verificava. Questo tasto è il tasto Apple sui computer Mac, il tasto Windows sui pc con tastiere per Windows sui quali gira questo sistema operativo e potrebbe corrispondere ad altri tasti su altre piattaforme. Non esiste però un unico tasto standard sulla cui presenza si possa fare affidamento per qualsiasi tipo di piattaforma.</p> -<h3 id="Sintassi" name="Sintassi">Sintassi</h3> -<pre class="eval"><i>bool</i> = event.metaKey -</pre> -<p><code>bool</code> vale <code>true</code> se il tasto META era premuto, altrimenti <code>false</code>.</p> -<h3 id="Esempio" name="Esempio">Esempio</h3> -<pre> function leggiInput(e) { - // controlla il tasto meta - if e.metaKey - // se era premuto si comporta di conseguenza - outputBellissimo(e); - else - outputMediocre(e) - } -</pre> -<h3 id="Specifiche" name="Specifiche">Specifiche</h3> -<p><a class="external" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-MouseEvent-metaKey">metaKey </a></p> -<p>{{ languages( { "en": "en/DOM/event.metaKey", "pl": "pl/DOM/event.metaKey" } ) }}</p> diff --git a/files/it/web/api/mouseevent/shiftkey/index.html b/files/it/web/api/mouseevent/shiftkey/index.html deleted file mode 100644 index 3365619bf1..0000000000 --- a/files/it/web/api/mouseevent/shiftkey/index.html +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: event.shiftKey -slug: Web/API/MouseEvent/shiftKey -tags: - - DOM - - Gecko - - Reference_del_DOM_di_Gecko - - Tutte_le_categorie -translation_of: Web/API/MouseEvent/shiftKey -translation_of_original: Web/API/event.shiftKey -original_slug: Web/API/Event/shiftKey ---- -<p>{{ ApiRef() }}</p> -<h3 id="Sommario" name="Sommario">Sommario</h3> -<p>Indica se il tasto SHIFT è stato premuto durante l'evento.</p> -<h3 id="Sintassi" name="Sintassi">Sintassi</h3> -<pre class="eval"><i>bool</i> = event.shiftKey -</pre> -<p><code>bool</code> restituisce <code>true</code> se il tasto SHIFT era premuto mentre l'evento si verificava, altrimenti <code>false</code>.</p> -<h3 id="Esempio" name="Esempio">Esempio</h3> -<pre><html> -<head> -<title>esempio tasto shift</title> - -<script type="text/javascript"> - -function mostraCarattere(e){ - alert( - "Tasto premuto: " + String.fromCharCode(e.charCode) + "\n" - + "Codice carattere: " + e.charCode + "\n" - + "Tasto SHIFT premuto: " + e.shiftKey + "\n" - + "Tasto ALT premuto: " + e.altKey + "\n" - ); -} - -</script> -</head> - -<body onkeypress="mostraCarattere(event);"> -<p>Prova a premere un tasto tenendo premuto SHIFT e prova a premere un tasto senza premere SHIFT.<br /> -Puoi anche provare a premere SHIFT+ALT.</p> -</body> -</html> -</pre> -<h3 id="Specifiche" name="Specifiche">Specifiche</h3> -<p><a class="external" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-MouseEvent-shiftKey">shiftKey </a></p> -<p>{{ languages( { "en": "en/DOM/event.shiftKey", "pl": "pl/DOM/event.shiftKey" } ) }}</p> |
