就我发现使用Cordova 2.9而言,Android 4.0+上的常见问题。和JQM 1.3: - 即使“无”过渡指定 页面过渡白色闪烁 - 做一个导航
在测试了SGII,摩托罗拉MC40,TC55,在所有平台上同样的问题,需要双水龙头。
的页眉,页脚内容,删除数据位= “固定”
JQM的使用初始化(注意,放置JS 以前 JQM包括)
.header {
position : fixed !important;
z-index : 10 !important;
top : 0 !important;
width : 100% !important;
}
.content {
padding : 55px 15px !important;
}
.footer {
position : fixed !important;
z-index : 10 !important;
bottom : 0 !important;
width : 100% !important;
}
//use this init
$(document).bind("mobileinit", function()
{
$.mobile.defaultPageTransition = "fade"; //default, see styles
$.mobile.transitionFallbacks='none';
$.mobile.useFastClick = false; //300ms or double tap needed
});
来源
2013-08-20 06:34:04
OSP
没有使用自定义样式你看到[这个网站](https://github.com/jquery/jquery-mobile/issues/4024)? – gtmtg
尝试了一些描述的方法,但没有运气,但看起来很有前途。继续尝试... – Jaume
好的...希望它可以帮助... – gtmtg