//浏览器当前的高度
var oHeight = $(document).height();
//监听窗口大小的时候动态改变底部输入框控制器的定位
$(window).resize(function(){
if($(document).height() < oHeight)
{
$("#footer").css("position","static");
}
else{
$("#footer").css("position","absolute");
}
});
 
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2021-08-06
  • 2021-12-03
  • 2022-12-23
  • 2021-09-14
  • 2021-07-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案