5:01PM
jQuery Scrollbars
jQuery Scrollbars is an amazing, new, easy-to-use, jQuery plugin which allows you to theme scrollbars with just 1 line of code; it also dregrades amazingly. All you need to do, to get started is:
- Include the CSS file it provides you.
- Include one of themes provided (at the time of writing, only the lion theme exists).
- Include jQuery, a version is provided with the script.
- Include the jQuery mousewheel plugin (only required if you want mousewheel support)
- Include the actual plugin
Then all you need to do is add the following line of code to your javascript file
$("*").scrollbars();
There is a whole plethora of options available to you, but to read more about them, checkout the github repo.
Submitted by Nathaniel Higgins Sep 26, 2011 at 5:01 PM
Reader Comments