获取页面宽高
var pageWidth=document.documrntElement.clientWidth; var pageHeight=document.documentElement.clientHeight; xx自定义xx.width=pageWidth; xx自定义xx.height=pageHeight;
获取页面宽高
var pageWidth=document.documrntElement.clientWidth; var pageHeight=document.documentElement.clientHeight; xx自定义xx.width=pageWidth; xx自定义xx.height=pageHeight;