Jquery canvas touch count

Posted by user897764 on Stack Overflow See other posts from Stack Overflow or by user897764
Published on 2012-07-03T09:14:42Z Indexed on 2012/07/03 9:15 UTC
Read the original article Hit count: 155

Filed under:
|
|
|

Can someone help me with a script I'm working with. http://jsfiddle.net/InVAMPED/XsG4e/4/

What I'm trying to achieve is placing a image where the user touches(ipad). There will be say 5 images that will each get attached once only.

So first touch places img1, second touch imag2 etc untill all the images have been placed. Problem with my fsfiddle example is that when on ipad it doesnt count the first touch so you place the first image twice. it does duplicate the image on the second time just moves it to the second touches coordinates, then move on to 2, 3, 4, 5 as it should.

any advice? or help to do this a better way?

thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html5