Highly customizable custom scrollbar jQuery plugin (Demo). Features include:
Plugin homepage and documentation (Changelog)
npm: npm install malihu-custom-scrollbar-plugin
Bower: bower install malihu-custom-scrollbar-plugin
Manual: $(selector).mCustomScrollbar();
var $ = require('jquery');
require('malihu-custom-scrollbar-plugin')($);
npm install imports-loader
npm install jquery-mousewheel
npm install malihu-custom-scrollbar-plugin
module.exports = {
module: {
loaders: [
{ test: /jquery-mousewheel/, loader: "imports?define=>false&this=>window" },
{ test: /malihu-custom-scrollbar-plugin/, loader: "imports?define=>false&this=>window" }
]
}
};
var $ = require('jquery');
require("jquery-mousewheel")($);
require('malihu-custom-scrollbar-plugin')($);
jQuery version 1.6.0 or higher
MIT License (MIT)
http://opensource.org/licenses/MIT
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UYJ5G65M6ZA28