Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <!-- saved from url=(0014)about:internet -->
- <meta http-equiv="X-UA-Compatible" content="IE=10" />
- <title> </title>
- <style>
- </style>
- <script language="javascript">
- var mousewheelevt=(/Firefox/i.test(navigator.userAgent))? "DOMMouseScroll" : "mousewheel"
- document.addEventListener("mousewheel", function(e){alert('deltaX: ' + e.deltaX)}, false);
- </script>
- </head>
- <body>
- <div id="div1" style="width:800px; height:600px; border:1px solid;" >testdiv</div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment