javascript - Prevent zooming using a touchscreen in a website (IE 11, Win 10) -


i have website created using jquery mobile. , want disable zoom functionality or prevent user being able zoom in using pinch zoom or tapping 2 fingers simultaneously.

i looking answer can't find answer works.

i tried using meta tag:

<meta name="viewport"       content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> 

also tried:

body { -ms-content-zooming: none }, html { -ms-content-zooming: none }, .ui-page { -ms-content-zooming: none } 

none of solutions work.

try user-scalable = no instead of user-scalable = 0.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -