Skip to content

vadimsva/easyScroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easyScroll

jquery plugin for customize scrolbars

Easy. Fast. Customizable

For work required only jQuery, other libraries are not required.

DEMO

Direct links to libs

easyScroll.js [23.3Kb]
easyScroll.min.js [12.2Kb]
easyScroll.css [3.7Kb]
easyScroll.min.css [3.4Kb]

Documentation

$(el).easyScroll({param1 : value1, param2 : value2, ...});

Parameters
theme - use theme for customize (string).
Use: 'default'

scrollAutoHide - show/hide scrollbars when elem has focus (boolean).
Use: false - default, true

scrolloffset - offset for scrollbar (integer).
Use: 1 - default

scrollMinHeight - minimum height for scrollbar slider (integer).
Use: 20 - default

scrollStep - scroll step (integer).
Use: 120 - default

scrollButtons - show/hide scroll buttons (boolean).
Use: false - default, true

scrollHorizontal - show horizontal scrollbar (boolean).
Use: false - default, true

Examples

$(el).easyScroll({
  theme : 'dafault',
  scrollAutoHide : false,
  scrollOffset : 1,
  scrollMinHeight : 20,
  scrollStep : 120,
  scrollButtons : false,
  scrollHorizontal : false
});

License

The MIT License (MIT)