Forum Moderators: open

Message Too Old, No Replies

Drag and Drop Swap

         

Meno

10:55 pm on Feb 11, 2008 (gmt 0)

10+ Year Member



Does anyone know of a javascript library where you can easily make all the elements within a div draggable and droppable in such a way that the thing dragged swaps places with the thing on which it was dropped?

(I've tried Scriptaculous, which can make a "sortable" element that does something similar to what I'm trying to do. It makes all the elements of a div draggable, but, when you move an element, it shifts all the subsequent elements down in position.)

[edited by: Meno at 11:00 pm (utc) on Feb. 11, 2008]

tomda

1:18 pm on Feb 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could try the one of Yahoo UI Library Drag & Drop or the one shown in DHTMLGoodies.