O'Reilly logo
  • Richard Thomas thinks this is interesting:

There is a finished version of this Try It on the book's website under the name simpledraganddrop_finished.html.

From

Cover of HTML5, JavaScript, and jQuery 24-Hour Trainer

Note

This example works in Chrome (on linux) but in Firefox I think the event propagation is causing a problem with the window attempting to open a new url.