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

Synchronous No
Bubbles Yes
Cancelable Yes

 

Event handler parameters

Standards information

There are no standards that apply here.

Remarks

HTMLMarqueeElementEvents2::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

HTMLMarqueeElementEvents2::onscroll

HTMLMarqueeElementEvents2::onmousemove

HTMLMarqueeElementEvents2::onmousedown

HTMLMarqueeElementEvents2::onmouseout

HTMLMarqueeElementEvents2::onmouseover

HTMLMarqueeElementEvents2::onmouseup