Drag & Drop on webpages

by Nazly on Friday, 12th May 2006 17:47:10

Anyone who has the necessity to drag & drop images or layers should look into the DHTML API, Drag & Drop for Images and Layers. Its a really cool API as I played around it quite a bit. Most importantly this library is a free software and released under LGPL.

The thing I like the most is the extendability of certain features. Also it has a very good documentation. I could easily add JavaScript code when an image is dragged or when dropped. I used Ajax in this case. When the user drags and drops an image I updated its position via Ajax to his user record on the server. So next time he logs in I could load the image in the position where he placed it last. Some basic stuff like that. It could really add a lot of interactivity to a webpage.

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • FriendFeed
  • Google Bookmarks
  • email
  • LinkedIn
  • PDF
  • Print
  • Reddit

Leave your comment

Required.

Required. Not published.

If you have one.