This topic has not yet been rated - Rate this topic

onmousewheel event

[This documentation is preliminary and is subject to change.]

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)

Standards information

There are no standards that apply here.

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Remarks

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

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ