Last Updated: February 25, 2016
·
374
· rabidaudio

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)

Picture