Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stylesuxx/selectify-jquery-plugin
https://github.com/stylesuxx/selectify-jquery-plugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/stylesuxx/selectify-jquery-plugin
- Owner: stylesuxx
- License: gpl-2.0
- Created: 2013-07-25T19:18:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-24T21:11:34.000Z (about 11 years ago)
- Last Synced: 2023-03-13T08:15:46.783Z (over 1 year ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Selectify jQuery Plugin
=======================
Select one or more items from a container and mark them with an additional class. This is not limited to lists. You can pass an element selector of your choice as option.The usage is similar to most file Browsers:
* Mouseclick selects or deselects item depending on current state
* CTRL + Mouseclick adds or removes an item to the selection
* SHIFT + Mouseclick adds all items between the last click and the current click (including current clicked item) to the selection. In case there were no items selected before all items preceeding the item and including the item are selected.Available options are:
* element: a selector for an element in the container (defaults to li)
* marker: a class to be add to a selected element (defaults to selectify-selected)Example usage:
$('.selectable').selectify({marker: 'selected', element: 'div.item'});
Check out the demo on [jsFiddle](http://jsfiddle.net/chris_l/UCLHa/2/).