[jQuery] Drag and Drop and Swap
Hi,
I have 3 divs on my page like so:
<div id="divA">
Panel A
</div>
<div id="divB">
Panel B
</div>
<div id="divC">
Panel C
</div>
I want to allow the divs to dragged and swapped with each other. So if I
drag "divA" over "divB" and release the mouse, they should swap places.
Same thing, if I drag "divC" over "divB" then they should swap accordingly.
Eventually I'd like to have a little transition/animation/effect when it
happens but for now I'll settle for just the drag/drop
How can I do this?
Thanks,
-West
--
View this message in context: http://old.nabble.com/Drag-and-Drop-and-Swap-tp27010297s27240p27010297.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.