Scrollbar
Create a simple but highly customizable custom scrollbar with jQuery plugin.
Copy-paste the stylesheet <link>
into your <head>
to load the CSS.
Copy-paste the following <script>
near the end of your pages under JS Implementing Plugins to enable it.
Copy-paste the following <script>
near the end of your pages under JS Space to enable it.
Methods
List of available JavaScript methods:
JavaScript function | Description | Default value |
---|---|---|
|
Set the amount of scrolling momentum as animation duration in milliseconds. Higher value equals greater scrolling momentum which translates to smoother/more progressive animation. Set to 0 to disable. |
150 |
|
The appearance of the scrollbar. Set the theme option parameter to any of the ready-to-use themes available in jquery.mCustomScrollbar.css, for example: | minimal-dark |
Official Documentation
For more detailed information, see the official documentation: Malihu documentation.