jquery plugin for customize scrolbars
For work required only jQuery, other libraries are not required.
easyScroll.min.js [12.2Kb]
easyScroll.css [3.7Kb]
easyScroll.min.css [3.4Kb]
$(el).easyScroll({param1 : value1, param2 : value2, ...});
theme - use theme for customize (string).Use:
'default'scrollAutoHide - show/hide scrollbars when elem has focus (boolean).Use:
false - default, truescrolloffset - offset for scrollbar (integer).Use:
1 - defaultscrollMinHeight - minimum height for scrollbar slider (integer).Use:
20 - defaultscrollStep - scroll step (integer).Use:
120 - defaultscrollButtons - show/hide scroll buttons (boolean).Use:
false - default, truescrollHorizontal - show horizontal scrollbar (boolean).Use:
false - default, true$(el).easyScroll({
theme : 'dafault',
scrollAutoHide : false,
scrollOffset : 1,
scrollMinHeight : 20,
scrollStep : 120,
scrollButtons : false,
scrollHorizontal : false
});
The MIT License (MIT)