Browser zoom

0
0
I want to set browser zoom value for mobile use. Is it possible ?
Example
if (Application.Browser.Device==”Mobile”)
{
Browserzoom= 200%;  // set zoom value
}
  • You must to post comments
0
0

Unfortunately it’s impossible with javascript to change the browser’s zoom level. You can set the CSS3 “zoom” property on document.body but it’s a different thing.

Usually with mobiles it’s better to use the viewport meta tag https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag. Add it to Default.html to determine the resolution and viewport on mobile devices.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.