Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

onmousemove event

Fires when the user moves the mouse over the object.

HTML 4.01 Specification, Section 18.2.3

Syntax

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

Event information

SynchronousNo
BubblesYes
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

Remarks

If the user presses a mouse button, use the IHTMLEventObj::button property to determine which button was pressed.

Initiates any action associated with this event.

To invoke this event, do one of the following:

  • Move the mouse over the document.

See also

Reference
HTMLImgEvents2::onmousewheel
HTMLImgEvents2::onmousedown
HTMLImgEvents2::onmouseout
HTMLImgEvents2::onmouseover
HTMLImgEvents2::onmouseup
onmspointermove

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.