Weblog of Nazly Ahmed

Nazly Ahmed

Nazly Ahmed

Web Developer. PHP Addict. Wordpress Hacker. FOSS Enthusiast. (Micro)Blogger. Photo Hobbyist. Cricket Fanatic. Husband. Dad.

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.

Posted on 12th May 2006 17:47:10