Scrollbar plugin

by Bryan Cua

$.fn.scrollbar creates horizontal and vertical scrollbars for objects with overflow:hidden. The function only creates a scrollbar scaled to show length of contents, but does not implement any 'scrolling' functionality. Rather, it will provide the user with two events: 'scrollbar::dragX' and 'scrollbar::dragY' which return dx and dy of the scroll.

Versions

Version Date
0.1.0 Jun 7 2014