var windowInnerHeight = window.innerHeight;
//获取当前浏览器窗口高度
$(window).resize(function(){
if(window.innerHeight < windowInnerHeight){
$('#foot').hide();
}else{
$('#foot').show();
}
});
var windowInnerHeight = window.innerHeight;
//获取当前浏览器窗口高度
$(window).resize(function(){
if(window.innerHeight < windowInnerHeight){
$('#foot').hide();
}else{
$('#foot').show();
}
});