2

How to detect zoom event (using multitouchale divice) on an element of a webpage and handle it? Thanks for help!

Andreas Köberle
  • 88,409
  • 51
  • 246
  • 277
user1235872
  • 235
  • 1
  • 2
  • 10
  • Please check out this [QUESTION][1] , I believe this will answer yours. [1]: http://stackoverflow.com/questions/995914/catch-browsers-zoom-event-in-javascript – laurens peeters Feb 27 '12 at 15:34

2 Answers2

1

This type of zoom is handled internally by the browser and is not scriptable.

Diodeus - James MacFarlane
  • 107,156
  • 31
  • 147
  • 171
0

So, if you want to implement zoom-like behavior (in plain JavaScript) in place of handing it to the browser, you need to handle [multi] touchstart/touchmove events yourself. Here's the touch event specification it's pretty comprehensive.

Alexander Pavlov
  • 29,538
  • 4
  • 63
  • 88