Hello all w/jquery-ui i can drag & drop a div.
i can then disable it w/a timer.
But what i’d like to do is after a certain amount of time have the div return to it’s original position (and animate/smooth the return back in). So far have not found the info on how to that.
I can disable it, destroy but can’t find how to return it.
Hope you folks can advise. this is my code so far.
when dragging starts why not grab the current coordinates, then on dragstop set a timeout event to animate it back to its original position (using these coordinates). If the user drags it before the timeout has fired, cancel the timeout.
Hello Pullo! Thank you for you help and the demo code as well. i’d love to try to use the offset. setting a an absolute pos for all the divs on the page doesn’t’ seem like a good idea.
how could i use the offest to return the moved divs back to their original spots please?
thx
D