JQueryMobile HTC的Andr​​oid双指缩放 [英] JQueryMobile HTC Android pinch zoom

查看:246
本文介绍了JQueryMobile HTC的Andr​​oid双指缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,其中JQueryMobile为iPhone,但与Android HTC看起来变焦时非常奇怪的正常工作。同样的事情发生在任何JQueryMobile网站的演示页面,几乎一半的屏幕变为空白彻底打破该网站。

I have one website with JQueryMobile which works fine for iPhone but with Android HTC looks really weird when zooming. Same thing happens in any of the demo pages of JQueryMobile site, almost half of the screen becomes blank breaking completely the site.

有没有解决这个或至少禁用捏缩放为Android HTC浏览器的方法吗?

Is there any way of solving this or at least disable pinch zooming for Android HTC Browsers?

推荐答案

您所面临的问题很可能是由HTC非标准Android浏览器造成的。你不能使用视meta标签,以prevent捏缩放。另外,变焦使布局重新计算(页面尺寸改变),我认为是什么原因造成的问题。不幸的是它似乎并不像有在这个时候这个问题的解决方案,但它仅影响的HTC手机。

The problem you are facing is likely caused by the HTC non-standard android browser. You cannot use the viewport meta tag to prevent pinch zooming. Also the zooming causes the layout to be recalculated (page dimensions are changed) which I assume is what is causing your issues. Unfortunately it doesn't seem like there is a solution for this problem at this time, but it only affects HTC phones.

这篇关于JQueryMobile HTC的Andr​​oid双指缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆