Horje

Example of HTML onwheel Event Attribute

It Execute a JavaScript when the user rolls the mouse wheel over a <div> element.
index.html
Example: HTML
 <div onwheel="myFunction()">Roll the mouse wheel over me</div> 

Output should be:

Example of HTML onwheel Event Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Mouse Events Attribute
Uploaded by:
Admin