Skip to main content
Dirlo
Inspiring
April 27, 2018
Question

Drag and rotate the same object with JQuery and JQueryRotate !...

  • April 27, 2018
  • 1 reply
  • 811 views

...

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 !...

...

    This topic has been closed for replies.

    1 reply

    Stagprime2687219
    Brainiac
    April 27, 2018

    Awesome!

    That is great news! Always a good feeling when you complete a challenge.

    Dirlo
    DirloAuthor
    Inspiring
    April 27, 2018

    ...

    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 !...

    ...