Cross platform OSX like Scrollbar jQuery Plugin Scrollert js - Download Cross-platform OSX-like Scrollbar jQuery Plugin - Scrollert.js

Download Cross-platform OSX-like Scrollbar jQuery Plugin – Scrollert.js

Posted on

This time I will share jQuery Plugin and tutorial about Cross-platform OSX-like Scrollbar jQuery Plugin – Scrollert.js, hope it will help you in programming stack.

Cross platform OSX like Scrollbar jQuery Plugin Scrollert js - Download Cross-platform OSX-like Scrollbar jQuery Plugin - Scrollert.js

File Size: 912 KB
Views Total: 2802
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Scrollert.js is a cross-platform, easy-to-customize jQuery custom scrollbar plugin which adds OS X-like horizontal/vertical scrollbars to a specified scrollable container.

How to use it:

1. Load the minified version of jQuery Scrollert.js plugin’s CSS in the document’s head section.

1 <link rel="stylesheet" href="dist/scrollert.min.css">

2. Add the CSS class ‘scrollert’ to the scrollable area and wrap your main content into the ‘scrollert-content’ container.

1 <div class="scrollert">
2   <div class="scrollert-content">
3     Content Goes Here
4   </div>
5 </div>

3. Load jQuery library and the jQuery Scrollert.js plugin’s script at the bottom of the html page.

2 <script src="dist/scrollert.min.js"></script>

4. Call the function on the top element and done.

1 $('.scrollert').scrollert();

5. Default configuration options for the scrollbar plugin.

1 $('.scrollert').scrollert({
2   axes: ['x', 'y'],
3   preventOuterScroll: false,
4   cssPrefix: 'scrollert',
5   eventNamespace: 'scrollert',
6   contentSelector: null
7 });

6. Apply your own CSS styles to the custom scrollbar.

1 .scrollert { .. }

Change log:

2017-08-28

  • Fixing scrollbar width

2017-01-25

2016-11-02

  • restyle

2016-09-19

  • v0.9.6

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

source : jqueryscript.net