Here are my METAs
<META name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;" />
<META name="HandheldFriendly" content="true" />
and this is my JavaSCript supposedly hiding the URL bar (which is quirky)
window.onload = function () {
setTimeout(function(){window.scrollTo(0, 1);}, 100);
insert();
}
要禁用缩放,请尝试使用以下元标记:
<META name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=no;"/>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.