摘要:
网页开发要面对各种各样的浏览器,让人很头疼,而移动开发中,你不但要面对浏览器,还要面对各种版本的手机,iOS好一点,而安卓就五花八门了,你可能在开发中也被它们折磨过,或者正在被它们折磨,我在这里说几个我在开发中遇到的比较难缠问题,和解决方案,给其他朋友提个醒,因为一旦碰到了这些bug,虽然解决方法不 阅读全文
摘要:
$(window).bind("orientationchange", function (event) { if (event.orientation) { //portrait 竖屏 landscape 横屏 if (event.orientation == 'por... 阅读全文
摘要:
var t1 = null; function btnSave() { if (t1 == null) { t1 = new Date().getTime(); } else { var t2 = new Date().getTime(); if (t2 - t1 < 500) { t1 = t2; return; } else { t1 = t2; } } //写自动代码 } 阅读全文
摘要:
1.设定外层div在屏幕中的高度。 2.设置div刷新style="-webkit-overflow-scrolling: touch; overflow: scroll“ 阅读全文
摘要:
canvas外层的div需要设定属性style="overflow:visible;-webkit-transform: translateZ(0); 阅读全文