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

onmousewheel event

Fires when the wheel button is rotated.

Syntax

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

Event information

SynchronousNo
BubblesYes
CancelableYes

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

Remarks

HTMLImgEvents::onmousewheel was introduced in Microsoft Internet Explorer 6

Scrolls the page up or down.

To invoke this event, do one of the following:

  • Rotate the wheel button.

See also

Reference
HTMLImgEvents::onscroll
HTMLImgEvents::onmousemove
HTMLImgEvents::onmousedown
HTMLImgEvents::onmouseout
HTMLImgEvents::onmouseover
HTMLImgEvents::onmouseup

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.