Skip to content

Commit

Permalink
Added changelog link
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Grsmto committed Oct 20, 2013
1 parent 63d5666 commit 4785281
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ SimpleBar is a plugin that tries to solve a long time problem : how to get custo
2. [Usage](#2-usage)
3. [How it works](#3-how-it-works)
4. [Limitations](#4-limitations)
5. [Credits](#5-credits)
5. [Changelog](#5-changelog)
6. [Credits](#6-credits)

##1. What it does

Expand All @@ -15,7 +16,7 @@ Design your scrollbar like you want, with CSS, on all browsers.

SimpleBar works with jQuery.

##3. Usage
##2. Usage

Include jQuery and SimpleBar in your document. The paths and filenames may differ from those shown here:

Expand Down Expand Up @@ -82,16 +83,20 @@ SimpleBar hides the browser's default scrollbars, which obviously is undesirable
</style>
</noscript>

##4. How it works
##3. How it works

For the most part SimpleBar uses the browser's native scrolling functionality, but replaces the conventional scrollbar with a custom CSS-styled scrollbar. The plugin listens for scroll events and redraws the custom scrollbar accordingly.

Key to this technique is hiding the native browser scrollbar. The scrollable element is made slightly wider/taller than its containing element, effectively hiding the scrollbar from view.

##5. Limitations
##4. Limitations

SimpleBar can currently handle vertical or horizontal scrollbars, but not both simultaneously.

##5. Changelog

See changelog here : https://github.com/Grsmto/simplebar/releases

##6. Credits

Most of the credit goes to [Jonathan Nicol](http://www.f6design.com/) who made the original plugin called [Trackpad Scroll Emulator](https://github.com/jnicol/trackpad-scroll-emulator).
Expand Down

0 comments on commit 4785281

Please sign in to comment.