function client(){
if(window.innerHeight !== undefined){
return {
"width": window.innerWidth,
"height": window.innerHeight
}
}else if(document.compatMode === "CSS1Compat"){
return {
"width": document.documentElement.clientWidth,
"height": document.documentElement.clientHeight
}
}else{
return {
"width": document.body.clientWidth,
"height": document.body.clientHeight
}
}
}

最新文章

  1. php判断字符串A是否含有字符串B
  2. ctrl+enter提交留言
  3. mysql_insert_id 为什么会返回空值
  4. 配置PhpStorm调试PHP
  5. 静态化 - 伪静态技术(Apache Rewrite 实现)
  6. springMVC框架中json处理
  7. PureLayout
  8. NOIP2016提高组初赛(C++语言)试题 个人的胡乱分析
  9. ectouch 概述
  10. How to learn PDE (怎么学偏微分方程)
  11. 使用jvisualVm监控本地和远程的jvm
  12. xadmin2.0(for Django2.0) 基本设置
  13. LIS|计蒜客2019蓝桥杯省赛 B 组模拟赛(一)
  14. 递归获取包下的class文件
  15. appium入门级教程(2)—— 安装Appium-Server
  16. 找到当前mysql group replication 环境的primary结点
  17. 基于sersync海量文件实时同步
  18. js 匿名函数-立即调用的函数表达式
  19. ABC103
  20. Hibernate表关系映射之一对多映射

热门文章

  1. shell+vim——05
  2. 003---wsgi和wsgiref模块
  3. HTML5 canvas 圆盘抽奖
  4. 模块hashlib和logging
  5. WCF入门二[WCF的配置文件]
  6. html+css调用服务器端字体
  7. 7 定制10MINs首页2
  8. android stadio 打开别人的工程 一直在编译中
  9. java.math.BigDecimal cannot be cast to java.lang.String解决方法
  10. python基础----ipython快捷键