Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Engaged ,
Apr 27, 2018 Apr 27, 2018

...

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

...

680
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Apr 27, 2018 Apr 27, 2018

Awesome!

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 27, 2018 Apr 27, 2018
LATEST

...

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

...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources