var w = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; var h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
The post JS获取浏览器宽高的兼容写法 appeared first on SKILL.NULL.