Drag and rotate the same object with JQuery and JQueryRotate !...
Copy link to clipboard
Copied
...
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 !...
...
Copy link to clipboard
Copied
Awesome!
That is great news! Always a good feeling when you complete a challenge.
Copy link to clipboard
Copied
...
It just took me 4 months !...
(I came here everyday, looking for all the Javascript questions !!...)
Great thanks for all of you who have tried (successfully or not) to help me !...
...

