Event handler for |
Layer , Link
|
Implemented in |
Navigator 2.0 Navigator 3.0: event handler of Area
|
Syntax
onMouseOver="handlerText"
Parameters
| 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 onMouseOver
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
Examples
By default, the HREF
value of an anchor displays in the status bar at the bottom of the browser when a user places the mouse pointer over the anchor. In the following example, onMouseOver
provides the custom message "Click this if you dare."
<A HREF="http://home.netscape.com/"
See
onMouseOver="window.status='Click this if you dare!'; return true">
Click me</A>onClick
for an example of using onMouseOver
when the A
tag's HREF
attribute is set dynamically.
For general information on event handlers, see "General Information about Events".
For information about the event
object, see event
.
Last Updated: 10/31/97 16:34:02