JS 取当前窗口大小的函数
function getWindowSize(){
return {
Width:Math.max(document.body.scrollWidth,document.documentElement.clientWidth),
Height:Math.max(document.body.scrollHeight,document.documentElement.clientHeight)
}
}
浙公网安备 33010602011771号