//======需引用jquery框架======//

//返回当前页面高度

function pageHeight(){
if($.browser.msie){
return document.compatMode == "CSS1Compat"? document.documentElement.clientHeight :
document.body.clientHeight;
}else{
return self.innerHeight;
}
};

 

//返回当前页面宽度
function pageWidth(){
if($.browser.msie){
return document.compatMode == "CSS1Compat"? document.documentElement.clientWidth :
document.body.clientWidth;
}else{
return self.innerWidth;
}
};

相关文章:

  • 2021-12-26
  • 2021-11-27
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2021-10-22
  • 2022-02-12
  • 2021-07-19
  • 2021-06-14
  • 2022-03-07
  • 2021-12-03
相关资源
相似解决方案