用javascript获取页面可见的高度

var h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;   //height



猜你喜欢

转载自blog.csdn.net/rocklee/article/details/80004344