Execute a section when the mouse pointer moves over the image JavaScript:
<img onmousemove="bigImg(this)" src="smiley.gif" alt="Smiley">
Definition and usage
The onmousemove attribute is triggered when the mouse pointer moves over the element.
Note: The onmousemove attribute does not apply to the following elements:
, , ,