Draggable element selections (like WhenIsGood)
whenisgood.net let's you drag over time slots to select/deselect multiple at once. I really like that UI so I made a little knockoff jQuery plugin to pull it off. Not exactly high-efficiency code, but I was going for clarity.
$(".draggable").dragHighlight('selected');
Demo (JSFiddle)
Source (Gist)
Written by Charles Julian Knight
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Jquery
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#