jQuery Custom Scrollbar Rails Gem
Installation
Add this line to your application's Gemfile:
gem 'scrollbar-rails'
And then execute:
$ bundle install
Usage
Add to your app/assets/javascripts/application.js
//= require jquery.mCustomScrollbar
Or for the minified version
//= require jquery.mCustomScrollbar.concat.min
And to your app/assets/stylesheets/application.css.sass or application.css.scss
@import jquery.mCustomScrollbar
Or application.css:
*= require jquery.mCustomScrollbar
Documentation
Usage documentation as well as demos can be found at:
https://github.com/malihu/malihu-custom-scrollbar-plugin
http://manos.malihu.gr/jquery-custom-content-scroller
http://manos.malihu.gr/repository/custom-scrollbar/demo/examples/complete_examples.html