eikhorsholm
08-12-2008, 08:42 AM
I've tried to search the web for a solution, but without any luck :-(
I have an array (in order) with div's and there coordinates (to place them on my page).
Is there any way to take one of the div's, drag it onto one of the other div's, release it and then they switch place.
So it should not place itself before or after the div it is dragged over (as every drag-n-drop script does that I've found) but switch place with it.
I have an array (in order) with div's and there coordinates (to place them on my page).
Is there any way to take one of the div's, drag it onto one of the other div's, release it and then they switch place.
So it should not place itself before or after the div it is dragged over (as every drag-n-drop script does that I've found) but switch place with it.