Add custom scrollbar to elements. Plugin that works with jQuery.
(additionally jQuery Mouse Wheel plugin for mousewheel action.)
simply,
$('#element').scrollbar(options);
update scrollbar when element changed,
$('#element').scrollbar('update');
- axis string
horizontal or vertical scroll direction. x | y - wheel boolean
scroll step on mousewheel - animate boolean
animation on scroll - fade boolean
fade in / out scrollbar on hover - prefix string
css class prefix