Skip to main content

All Questions

Tagged with
0 votes
2 answers
659 views

hammer.js exhibits pinch lag when changing pinch direction (tested on Android)

I've noticed when using Hammer-time.js for zoom events that there is a noticeable lag in the pinch zoom event if you go from pinch in to pinch out (or vice versa) without taking your fingers off the ...
Single Entity's user avatar
2 votes
1 answer
3k views

Using Hammerjs for pinch and zoom on image

So I have a header.. and an image. On tablet I want to be able to pinch and zoom into the image but i'm struggling. I've looked at other similar questions. But as I'm still learning, i'm not fully ...
pourmesomecode's user avatar
1 vote
1 answer
3k views

Hammer.js: Android website pinch events not firing

I want to capture pinch events on an image in a webpage using hammer.js (or anything else is also fine). I've got two implementations of which neither works as expected. I'm testing with Android 4.1 ...
hofnarwillie's user avatar
  • 3,640
0 votes
1 answer
777 views

jquery.hammer.js crashes on android but works fine on ios

I have built a slide show and right now I am trying to add swipe support that cross platform compatible. currently my jquery hammer js build works great on ios but not in android 4. in android my ...
appthat's user avatar
  • 826
7 votes
2 answers
5k views

Detect pinch to zoom when 'user-scalable' is set to yes

How can I detect the scale (or distance pinched) of the pinch to zoom when the meta name="viewport" is set to user-scalable=yes? I've tested on Android but the pinch to zoom can't be detected if the ...
user avatar
4 votes
1 answer
2k views

Detect Android pinch to zoom innerWidth with JavaScript/Hammer.js

I want to know the innerWith/viewport width of the pinch to zoom when it's zoomed. If it's below 500 px I want to change the image with: $("img#ad").attr("src", "http://img0.www.suckmypic.net/img/1/...
user avatar