Minimal Custom Scrollbar Plugin For jQuery - mintScrollbar

Minimal Custom Scrollbar Plugin For jQuery - mintScrollbar
File Size: 10.4 KB
Views Total: 3877
Last Update:
Publish Date:
Official Website: Go to website
License: MIT

mintScrollbar is a minimal jQuery plugin to create custom scrollbars that feature vertical/horizontal/nested scrollbars, scroll to, scroll by, mouse wheel, keyboard and touch support etc.

Basic Usage:

1. Load the mintScrollbar.css for the basic & default scrollbar styles.

<link rel="stylesheet" href="mintScrollbar.css">

2. Load the jQuery mintScrollbar plugin after jQuery library.

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

3. Load the jQuery mousewheel plugin for mouse wheel support.

<script src="//"></script>

4. Call the plugin on the container element where you wish to display a custom scrollbar.


5. All the default options.


// onChange callback
onChange: null,

// custom axis
axis: "auto",

// mouse wheel speed
wheelSpeed: 120,

// disable on mobile devices
disableOnMobile: true


6. Public methods.


// scroll to functions
$(".demo").data("mintScrollbar").scrollTo(destX, destY);

// scroll by functions
$(".demo").data("mintScrollbar").scrollBy(deltaX, deltaY);

Change log:


  • bugfix.

This awesome jQuery plugin is developed by Cople. For more Advanced Usages, please check the demo page or visit the official website.