Partager via


onmouseout event

Fires when the user moves the mouse pointer outside the boundaries of the object.

 

Syntax

HTML Attribute <element onmouseout = "handler(event)">
Event Property object.onmouseout = handler;
attachEvent Method object.attachEvent("onmouseout", handler)
addEventListener Method object.addEventListener("mouseout", handler, useCapture)

 

Event information

Synchronous No
Bubbles Yes
Cancelable No

 

Event handler parameters

Standards information

Remarks

When the user moves the mouse over an object, one HTMLMarqueeElementEvents2::onmouseover event occurs, followed by one or more HTMLMarqueeElementEvents2::onmousemove events as the user moves the mouse pointer within the object. One HTMLMarqueeElementEvents2::onmouseout event occurs when the user moves the mouse pointer out of the object.

Initiates any action associated with this event.

To invoke this event, do one of the following:

  • Move the mouse pointer out of an object.

See also

Reference

HTMLMarqueeElementEvents2::onmousewheel

HTMLMarqueeElementEvents2::onmousedown

HTMLMarqueeElementEvents2::onmousemove

HTMLMarqueeElementEvents2::onmouseover

HTMLMarqueeElementEvents2::onmouseup

onmspointerout