This example demonstrates the difference between onmousemove, onmouseleave and onmouseout.
onmousemove
Mouse over and leave me!
onmouseleave
onmouseout
The onmousemove event occurs every time the mouse pointer is moved over an div element.
The mouseleave event only occurs when the mouse pointer is moved out of an element.
The onmouseout event occurs when the mouse pointer is moved out of an element.