[Contents] [Previous] [Next] [Index]

onMouseOut

Executes JavaScript code when a MouseOut event occurs; that is, each time the mouse pointer leaves an area (client-side image map) or link from inside that area or link.

Event handler for

Layer, Link

Implemented in

Navigator 3.0

Syntax

onMouseOut="handlerText"

Parameters

handlerText
JavaScript code or a call to a JavaScript function.

Description

If the mouse moves from one area into another in a client-side image map, you'll get onMouseOut for the first area, then onMouseOver for the second.

Area objects that use the onMouseOut event handler must include the HREF attribute within the AREA tag.

You must return true within the event handler if you want to set the status or defaultStatus properties with onMouseOver.

Event properties used

type
Indicates the type of event.

target
Indicates the object to which the event was originally sent.

layerX, layerY,
pageX, pageY,
screenX, screenY
Represent the cursor location at the time the MouseOut event occurred.

Examples

See the examples for Link.

See also

onMouseOver

For general information on event handlers, see "General Information about Events".

For information about the event object, see event.


[Contents] [Previous] [Next] [Index]

Last Updated: 10/31/97 16:34:02


Copyright ?1997 Netscape Communications Corporation