Skip to content Skip to sidebar Skip to footer

How Do I Use The Jquery Scrollbar Paper Plugin?

I want to use the jquery scrollbar paper plugin to alter the style of scrollbars within the document. However the page for the plugin does not seem to have any documentation. How a

Solution 1:

The example page shows that all you need to do is use the jQuery plugin on any elements you want to have a custom scrollbar.

$('.use-scrollbarpaper').scrollbarPaper();

And this adds divs with classes scrollbarpaper-track, scrollbarpaper-container and scrollbarpaper-drag which I presume are styled by default in the CSS provided, so you can style them as required.

Solution 2:

The code and some examples can be found on the plugin's googlecode page:

http://code.google.com/p/scrollbarpaper/source/browse/#svn%2Ftrunk

Post a Comment for "How Do I Use The Jquery Scrollbar Paper Plugin?"