JQuery Plugin That Adds Cross-Browser Mouse Wheel Support

jQuery Mouse Wheel Plugin adds cross-browser mouse wheel support with delta normalization In order to use the plugin, you only need to associate the mouse wheel event with an element.

It also provides two helper methods called mouse wheel that work just like the other event help methods in jQuery.

The event object is updated with normalized deltaX and deltaY properties. In addition, there is a new property on the event object called deltaFactor. Multiply deltaFactor by deltaX or deltaY to get the scroll distance reported by the browser.

The official jQuery mousewheel plugin that adds cross-browser mouse wheel support for your web projects. It’s been used for many years in a variety of jQuery plugins, websites, and web applications.

scroll div horizontally with mouse wheel, mouse wheel scroll jquery example, scroll horizontally with mouse wheel, scroll page vertically with mouse wheel

How to make use of it:

1.  Include jQuery Library and MouseWheel.js.

<script src="jquery.min.js"></script>
<script src="jquery.mousewheel.js"></script>

2. Bind the “mousewheel” occasion to a component.

<div id="demo"></demo>

3. An instance of utilizing each the bind and helper technique syntax.

// using bind
$('#demo').bind('mousewheel', function(event, delta, deltaX, deltaY) {
  console.log(delta, deltaX, deltaY);

// using the event helper
$('#demo').mousewheel(function(event, delta, deltaX, deltaY) {
    console.log(delta, deltaX, deltaY);

jQuery Plugin for Mouse Wheel Support, jQuery Mouse Wheel Plugin/Github, jquery mousewheel cdn, jquery mousewheel npm, jquery mousewheel demo

See Demo And Download

Official Website(jquery): Click Here

This superior jQuery/javascript plugin is developed by jquery. For extra Advanced Usages, please go to the official website.

Related Posts


How to Create a Simple Cookie Banner Consent Using Bootstrap 4

Cookie Consent Popup Javascript – Quick and simple tutorial for creating a simple Bootstrap cookie banner. If you have a website or blog with people visiting or…


Create Custom HTML Terminals With Pure JavaScript | shell.js

Custom HTML Terminals is A JavaScript library to create HTML terminals on web pages. The shell js JavaScript library offers a straightforward method to create Ubuntu, OS X,…


Bootstrap Alert, Confirm, and Flexible Dialog Boxes | Bootbox

Bootbox.js is a small JavaScript library that allows you to create programming dialogs using Bootstrap templates, without having to worry about creating, managing, or removing any required…


An Accessible Touch-enabled Slider Web Component | fg-carousel

fg-carousel Slider – A simple & modern slider web component to create versatile, accessible, touch-enabled picture carousels utilizing CSS scroll snap, Custom Element, and Intersection Observer API….


A Lightweight and Efficient Tags Input Component in Vanilla JS | tagify

tagify transforms an input field or textarea into a tags component, in an easy and customizable way, with great performance and a small code footprint, full of…


A Lightweight Library to Copy Text to Clipboard | CopyJS

CopyJS is a lightweight JavaScript library that allows you to copy plain text or HTML content to the clipboard. Must Read: Tiny Library for Copy Text In…