() onmousewheel (attributo evento HTML) si attiva quando l’utente fa scorrere la rotellina del mouse sopra l’elemento HTML cui acceda. E’ da preferire l’attributo evento HTML onwheel.
|
tag |
Tutti |
|---|
Sintassi
onmousewheel = "[script]"
Esempi
<script>
function Funzione() {
alert("Hai fatto girare la rotellina del mouse");
}
</script>
<div onmousewheel="Funzione()">
<p>testo</p><p>testo</p><p>testo</p><p>testo</p>
<p>testo</p><p>testo</p><p>testo</p><p>testo</p>
testo
testo
testo
testo
testo
testo
testo
testo
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment