Main features

The content doesn't get shrunk when scrollbars are added, just like in OSX

Option to auto-hide scrollbars

Dark and light style

EndlessScroll functionality

How to use

Download LionBars

Include the script right after jquery

Include the css however you prefer. For example, in the main stylesheet
@include 'lionbars.css';

Call .lionbars() on all elements that have scrollbars
$('#box1, #box2').lionbars();

You're done!

Options

LionBars has some options that you can use to do some useful things. They will be explained here. All options are passed as an object to the constructor.

$('div').lionbars({
autohide: true
});

Autohide scrollbars

LionBars gives you the opporunity to autohide the scrollbars so that they will only appear if you scroll the content. To enable the feature you only have to set autohide to true.

EndlessScroll

This feature makes it possible to react on reaching either to bottom o the right of the scrolled content. If you pass some handlers to the options they will be called and you can modify the content and update it.