1 var clientW=document.documentElement.clientWidth||document.body.clientWidth//取浏览器可见区域的宽;
2 var clientH=document.documentElement.clientHeight||document.body.clientHeight;
转载于:https://www.cnblogs.com/yangdejin/archive/2011/10/14/2212686.html
1 var clientW=document.documentElement.clientWidth||document.body.clientWidth//取浏览器可见区域的宽;
2 var clientH=document.documentElement.clientHeight||document.body.clientHeight;
转载于:https://www.cnblogs.com/yangdejin/archive/2011/10/14/2212686.html