Skip to main content
Dirlo
Inspiring
May 8, 2018
Question

Drag and rotate the same object on mobile ?

  • May 8, 2018
  • 0 replies
  • 136 views

...

Hello !...

In a previous post, I said I managed to drag and rotate the same object, using JQuery's codes.

But I still have problems as you can see in the example below with the dragging (the cursor doesn't stay in the middle of the drag object, and I didn't manage to put the drag object in the front... so it's still far from perfect... )

http://soutien67.fr/math/activites/tangram/Tangram_03/index.html

By the way, I also realized that I can't do this if there is an image behind the draggables ? (I don't know why ?!...)

But now, the challenge is to do the same thing on mobile !!!...

(I try to add the Jquery UI Touch Punch the same way I did with the others scripts but it seems to be more complicated ???...)

Any help is welcome !...

PS : I read there that TLCMediaDesign managed to do it !... It would be great to make a tutorial about this !...

...

This topic has been closed for replies.