2

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

Andreas Köberle
  • 98,250
  • 56
  • 262
  • 287
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
  • 110,221
  • 32
  • 151
  • 174
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
  • 30,691
  • 5
  • 65
  • 91