PDA

View Full Version : Drag and drop like this web



alenavafer
10-04-2007, 05:50 PM
How can I do the drag and drop effect that i can see in this web:

http://optuszoo.ninemsn.com.au/

The most i like its the movement of the layers. But I donīt understand how i can do.

Thanks.

djr33
10-04-2007, 06:44 PM
Lots of ajax and complex Javascript.
There are some window widget scripts in DD's library, but they aren't that complex.
The most interesting part is the "snap to edges" feature.

alenavafer
10-04-2007, 09:31 PM
Exactly, the most interesting is the "snap to edge". I have the movement of the but i donīt know how to do the snap.

tech_support
10-05-2007, 05:22 AM
http://wiki.script.aculo.us/scriptaculous/page/print/SortableListsDemo
Adapt from that.

codeexploiter
10-05-2007, 09:43 AM
http://developer.yahoo.com/yui/dragdrop/

tech_support
10-05-2007, 10:43 AM
Messy code here we come! :D