Browser zoom

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
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
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json