var oHeight = $(document).height(); //屏幕当前的高度
$(window).resize(function(){
if($(document).height() < oHeight){
$("#footer").css("display","none");
}else{
$("#footer").css("display","block");
}
});
var oHeight = $(document).height(); //屏幕当前的高度
$(window).resize(function(){
if($(document).height() < oHeight){
$("#footer").css("display","none");
}else{
$("#footer").css("display","block");
}
});
本文标题:当输入法键盘唤起,底部footer跟随着一起上去的bug
本文链接:https://www.haomeiwen.com/subject/sllizttx.html
网友评论