What is the html code for disable zoom?

Asked By 90 points N/A Posted on -
qa-featured

Hello experts,

What is the html code for disable zoom? I am working on my website or webpage which I include a mapping system to detect the user on its location when accessing the webpage. A mapping system always enable the zoom feature. How will I be able to create a code to disable the zoom feature? Give me some idea.

Thank you.

SHARE
Best Answer by Akaash6255
Answered By 0 points N/A #140099

What is the html code for disable zoom?

qa-featured

 

Hello,
 
The html code for disable zooms is as follows: $(document).ready (function (), $(document).keydown (function (e) and $(document).keydown (function (e). I hope you find this information helpful to you.
 
Regards,
Best Answer
Best Answer
Answered By 0 points N/A #140100

What is the html code for disable zoom?

qa-featured
Hi,
I am sending you a HTML code for your website, I hope it will work for you. If it does not work, tell me
i will find another way to solve your problem Thanks. i'll be waiting for your reply. Thanks.

<html>
<head>
<title>Test page</title>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<style type="text/css">
body
{
    font: 16pt sans-serif;
}
</style>
</head>
<body>
This is a test page. It should not be scalable by the user at all. Not with the two-pinger pinch gesture and even less with a double-tap on the text.
</body>
</html>

 

Login/Register to Answer

Related Questions