A plugin to convert a given DOM-List into an mobile-scrollable-list including a nice A-Z scrollable sidebar list.
-
Include jQuery:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
-
Include plugin's code:
<script src="src/jquery.psiiiAlphabetScroller.js"></script> <link href="src/jquery.alphabetScroller.css" media="all" rel="stylesheet"/>
-
Call the plugin:
$("#element").alphabetScroller({ class:'.az-item', ... });
The basic structure of the project is given in the following way:
├── demo/
│ └── index.html
├── src/
│ └── jquery.psiiiAlphabetScroller.js
│ └── jquery.alphabetScroller.css
│ └── jquery.alphabetScroller.less
├── .editorconfig
├── .gitignore
└── package.json
MIT License © Zeno Rocha