Drag and rotate the same object with JQuery and JQueryRotate !...
...
Finally it's done !!!... ![]()
http://soutien67.fr/essai/Drag_Try_4/
For the draggable with JQuery see this topic :
Limit the movement of the draggable object in a drag and drop interaction
For the rotate-able with JQuey Rotate see this topic :
(The answer of JeremyS - take care with the " and ' if you get the code from his linked page...)
Re: Rotate an image with a button in html5
And what was so strange : I had another time to copy two times the code !!!... :
$("[id='Dg3c']").rotate({angle:sRot,animateTo:eRot,easing:$.easing.easeInOutExp});
$("[id='Dg3']").rotate({angle:sRot,animateTo:eRot,easing:$.easing.easeInOutExp});
One time with _c and one time without !!!... ![]()
I don't know why !... But it seems to work fine at least !... ![]()
![]()
...
