function getScreenWidth() {
var w=window.innerWidth
|| document.documentElement.clientWidth
|| document.body.clientWidth;
return w;
}
function getScreenHeight() {`
var h=window.innerHeight
|| document.documentElement.clientHeight
|| document.body.clientHeight;
}
网友评论