Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable pinch to zoom in IE10

In IE10 touch mode I wish to make only a certain part of the page zoomable. 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 my body and html tags.

However I can still zoom. Did I miss something?

like image 395
cmplieger Avatar asked Mar 03 '13 01:03

cmplieger


2 Answers

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

like image 194
cmplieger Avatar answered Nov 09 '22 13:11

cmplieger


For me this CSS code work

html {

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

}

I am using this code for disabling pinch and double tap zoom on windows tablet, I.E 10

like image 28
Umer Qureshi Avatar answered Nov 09 '22 12:11

Umer Qureshi