05-21-2009 05:40 AM - edited 05-21-2009 05:41 AM
When a web page is displayed in the browser, when we click on the any buttons, the web page automatically zooms out.
Is there a way we can control the automatic zoom in/zoom out in the browser?Can we avoid this?
07-14-2009 12:15 AM
I haven't had any luck with the HandeldFriendly tag or specifiying the device width. The only thing that seems to work is making the button a link and including href="#".
I don't yet know how robust this is. Using href="#" stopped the zooming in my test, but had the side effect of jumping to the top of the page when the button was clicked. Adding return false to the onclick stopped the jumping.
Here's an example of the link attributes.
<a onclick="function($parameter); return false;" href="#">