OverviewInfrastructure that builds upon Shindig's gadgets.js file to provide drag-and-drop functionality similar to something like iGoogle. Dojo is used extensively to simplify tasks such as manipulating classes, style, querying via CSS selectors, and for a very lightweight drag-and-drop abstraction. These patterns could be ported to another JS toolkit or rewritten in "raw" JS if you want to handle all of the browser quirks "manually".
Fairly extensive comments are included inline. This has been tested on FF3, Safari3, and IE7. Overall, the concepts are simple; it's the implementation details that were a bit tricky.
We hope you appreciate this code; we would appreciate it if you could rate some of our widgets and come up with you own ideas of apps to build on our platform over at Life360.
ScreencastsDemo showing off the main capabilities of Shindig-dnd.
Quick tutorial to get Shindig-dnd installed and running.