Disable pinch to zoom in IE10

In IE10 touch mode, I want to make only a certain part of the page scalable. The rest should not be.

I found this: http://msdn.microsoft.com/en-US/library/ie/hh772044.aspx and tried to set -ms-touch-action: none to the body and html tags.

However, I can still increase. Did I miss something?

+15
javascript css html5 internet-explorer-10 gestures
Mar 03 '13 at 1:51 on
source share
3 answers

Found solution: -ms-content-zooming: none | zoom -ms-content-zooming: none | zoom

+25
Mar 03 '13 at 2:02
source share

For me this CSS code works

 html { -ms-content-zooming: none; -ms-touch-action: pan-x pan-y; } 

I use this code to disable scaling and double scaling on a Windows tablet, IE 10

+3
Dec 05 '14 at 11:50
source share

Try adding this to your head area:

 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> 
0
Mar 13 '15 at 18:40
source share



All Articles