Setting zoom level on mobile browser
Posted
by Zbyszek Swirski
on Stack Overflow
See other posts from Stack Overflow
or by Zbyszek Swirski
Published on 2010-03-30T19:34:25Z
Indexed on
2010/04/06
11:23 UTC
Read the original article
Hit count: 625
I am designing website for mobile access and I want to set page width, height and button sizes, so they display filling up the screen. For example if user is using HTC HD , the whole screen would be 480x800 with button sized 240x200. However IE mobile as well as Opera load the page with some zoom level, so the buttons display either too large or too small. How can I either read current zoom level in javascript or set it from javascript?
© Stack Overflow or respective owner