Quantcast
Channel: How would I do a two finger drag with javascript/jquery? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by fancy for How would I do a two finger drag with javascript/jquery?

In CoffeeScript, I also edited it to use globals for the purpose of generalizing. I'm not using global variables. $('#div').bind 'touchstart', touchstart $('#div').bind 'touchmove', touchmove...

View Article



How would I do a two finger drag with javascript/jquery?

I'm trying to create the ability to drag a div when there are two fingers placed on it.I've bound the div to the touchstart and touchmove events. I'm just not sure how to write the functions. Something...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images