随笔

1. 文档高度:window.innerHeight

2. 屏幕高度:document.body.clientHeight

3. bar的高度: 屏幕高度/2 - 文档高度

posted @ 2016-04-06 11:22  Pond  Views(90)  Comments(0)    收藏  举报