I need help with jQuery effects, after setting images to a position through style, and user can drag the images around after the html page published, I need some plugin or a command to make jQuery return the image, which has been dragged, to it’s original position.
For ex. if the user moved b1 to another position, b1 will return slowly to it’s original position.
Here is the link to the page: Draggable images
Thanx in advance,
Regards,
You mean like this? http://jqueryui.com/demos/draggable/#revert
Just set the revert option to true:
$("#b1").draggable({ revert: true });