Light-weight javascript and event handler to enable dragging, dropping, and selecting on any element in the document.
- Copy files into your working directory.
- Link to draggable-selectable.css within your header, and eventUtility.js and draggable-selectable.js before the closing body element.
- Add the class "draggable" and/or "selectable" to any element you wish.
- Optionally modify the "select-*" selectors to your liking.
- Fork it.
- Create a branch (
git checkout -b my_markup
) - Commit your changes (
git commit -am "Clean redundant CSS"
) - Push to the branch (
git push origin my_markup
) - Open a [Pull Request][1]
- Eat some bacon while you wait