2

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

Andreas Köberle
  • 106,652
  • 57
  • 273
  • 297
user1235872
  • 255
  • 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
  • 112,730
  • 33
  • 157
  • 176
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
  • 31,598
  • 5
  • 67
  • 93