Skip to content

A plugin to convert a given DOM-List into an mobile-scrollable-list including a nice A-Z scrollable sidebar list.

Notifications You must be signed in to change notification settings

Psiiirus/jquery-psii-alphabet-scroller

Repository files navigation

jQuery PsiiiAlphabetScroller

A plugin to convert a given DOM-List into an mobile-scrollable-list including a nice A-Z scrollable sidebar list.

Usage

  1. Include jQuery:

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
  2. Include plugin's code:

    <script src="src/jquery.psiiiAlphabetScroller.js"></script>
    <link href="src/jquery.alphabetScroller.css" media="all" rel="stylesheet"/>
  3. Call the plugin:

     $("#element").alphabetScroller({
     	class:'.az-item',
     	...
     });

Structure

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

License

MIT License © Zeno Rocha

About

A plugin to convert a given DOM-List into an mobile-scrollable-list including a nice A-Z scrollable sidebar list.

Resources

Stars

Watchers

Forks

Packages

No packages published