MOUSE-EVENTS.HTML

Mouse-events.html is a template for handling three basic mouse events: Moving, pressing down on a button, and releasing the button. It works in IE 5+ and should also work in NS 6+.

When used in conjunction with DHTML, this can be used to create drag and drop web applications. The three handlers return a true value, changing it to false causes some default browser behaviours, like text highlighting, to become disabled.