This example demonstrates how to assign an "onmousemove" event to a div element.
Mouse over the rectangle above, and get the coordinates of your mouse pointer.