Example #1: Demonstrates onmousemove in link using recommended technique for registering events

This example demonstrates some of the info that can be returned onmousemove event.

Example One: Only the mousemove event is registered on this link


Example #2: Using In-line javascript is simplier, but blurs structure and behavior

mousemove, mouseup, click and dblclick are registered inline the link below. Mousemove occurs on every pixel when mouse is moved so it can slow down response and should only be used when needed. You can remove mousemove by using object.mousemove = null; when finished with it.

Example Two: click this link to see which events occur.


---Messages for both examples follow---