获取。。。。先占位
2015-11-26 10:59
148 查看
function getBodyHeight() { var height = (window.innerHeight || document.documentElement.clientHeight) || document.body.clientHeight; return height; } function getBodyWidth() { var width = (window.innerWidth || document.documentElement.clientWidth) || document.body.clientWidth; return width; }
相关文章推荐
- 数组初始化
- autorelease pool
- nginx初测
- 监理工程师岁月--农民工的工作与生活
- js原生函数bind
- Android启动时间优化查看及冷启动时间优化优化
- 对工资在1000到2000元之间的员工更感兴趣,要求工资在这个范围员工排序在前面
- codeforce #322C Developing Skills (优先队列)
- Java static关键字
- (转)hadoop基本操作命令
- 安卓运行环境
- Xmind & MindManager
- 文章标题
- maven 下载 源码和javadoc命令
- SQL Server2008定期清理日志
- 59 Which background process of a database instance, using Automatic Storage Management (ASM), connec
- OpenCV的随机数发生器
- oracle存储过程常用技巧
- 23、手把手教你Extjs5(二十三)模块Form的自定义的设计[2]
- SAP中方会计凭证打印解决方案