EN
此内容没有您的语言版本,但有英语版本。

onmouseover event

Fires when the user moves the mouse pointer into the object.

HTML 4.01 Specification, Section 18.2.3

 

Syntax

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

 

Event information

SynchronousNo
BubblesYes
CancelableYes

 

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

Remarks

The event occurs when the user moves the mouse pointer into the object, and it does not repeat unless the user moves the mouse pointer out of the object and then back into it.

Initiates any action associated with this event.

To invoke this event, do one of the following:

  • Move the mouse pointer into an object.

See also

Reference
HTMLElementEvents2::onmousewheel
HTMLElementEvents2::onmousedown
HTMLElementEvents2::onmousemove
HTMLElementEvents2::onmouseout
HTMLElementEvents2::onmouseup
onmspointerhover
onmspointerover

 

 

社区附加资源

添加
显示:
© 2014 Microsoft