Untuk menghasilkan imej atau teks bergerak yang berhenti apabila 'on mouseover', tambahkan onmouseout="this.start()" onmouseover="this.stop()" ke tag marquee berkenaan, contoh,
<marquee behavior="scroll" direction="left" onmouseout="this.start()" onmouseover="this.stop()"><img alt="tadika" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3d_7215QbFikVW4k0whNk-gL7oECFHP0GrUzXTIzvDp0fbr0AtJ3z3_wHwkoUio55Joe9BThGtwoS8bAC9VSq2r1EoZ0QgQFfGXSfW-x1JwFVuGFCWVFOyOXGVUlE3OhIncqtdnK8Lng/s200/b.jpg" width="200" /></marquee>
halakan penunjuk tetikus ae atas imej dan ia akan berhenti bergerak,
Contoh untuk teks,
<marquee behavior="scroll" direction="left" onmouseout="this.start()" onmouseover="this.stop()">Berhenti!!!</marquee>
hasilnya, teks berhenti bergerak bila 'on mouseover',
<marquee behavior="scroll" direction="left" onmouseout="this.start()" onmouseover="this.stop()"><img alt="tadika" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3d_7215QbFikVW4k0whNk-gL7oECFHP0GrUzXTIzvDp0fbr0AtJ3z3_wHwkoUio55Joe9BThGtwoS8bAC9VSq2r1EoZ0QgQFfGXSfW-x1JwFVuGFCWVFOyOXGVUlE3OhIncqtdnK8Lng/s200/b.jpg" width="200" /></marquee>
halakan penunjuk tetikus ae atas imej dan ia akan berhenti bergerak,
Contoh untuk teks,
<marquee behavior="scroll" direction="left" onmouseout="this.start()" onmouseover="this.stop()">Berhenti!!!</marquee>
hasilnya, teks berhenti bergerak bila 'on mouseover',
Ulasan