Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

HTMLLinkElementEvents2::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
HTMLLinkElementEvents2::onscroll
HTMLLinkElementEvents2::onmousemove
HTMLLinkElementEvents2::onmousedown
HTMLLinkElementEvents2::onmouseout
HTMLLinkElementEvents2::onmouseover
HTMLLinkElementEvents2::onmouseup

 

 

Community Additions

ADD
Show:
© 2015 Microsoft