Utiliser la fonction onmouseMove

posted in: html | 0

logo

Cliquez sur le logo pour obtenir un effet.

Le code expliqué

<img onmousemove= »bigImg(this) » onmouseout= »normalImg(this) » border= »0″ src= »http://lescarnetsd.entara.be/wp-content/uploads/2015/02/siteweb3.jpg » alt= »logo » width= »32″ height= »32″>
<p>Cliquez sur le logo pour obtenir un effet.</p>
<script>
function bigImg(x) {
x.style.height = « 110px »;
x.style.width = « 164px »;
}
function normalImg(x) {
x.style.height = « 32px »;
x.style.width = « 32px »;
}
</script>

logowebmaster1