|Property/method value type:||Boolean primitive|
|HTML syntax:||<A onMouseOut="..."> <AREA onMouseOut="..."> <HTMLTag onMouseOut="..."> <IMG onMouseOut="..."> <LAYER onMouseOut="...">|
|Argument list:||aHandler||A reference to a function object to handle the event|
When you move the mouse, the browser generates mouse move events and sends them to the Element object that is under the mouse at that moment. As the mouse reaches the boundary of an element a mouse out event and a mouse over event are generated and directed to the appropriate elements for them to handle.
DOM level 2 classifies this as a MouseEvent and specifies that it uses bubbling propagation and can be canceled.
You may need to implement some code for this handler to reset the status line after changing it with an onMouseOver event handler. That would be necessary for Netscape 2.0 and 3.0 on the Windows platform.
As a mouse is moved over an element, an entry event is triggered. It can cause severe browser crashing problems if you are creating and destroying objects under the mouse while it is moving. In particular, the destruction of an object can mean that the mouse out has no logical destination since it must somehow leave the element it entered.