0 jquery height mootools document
有一个mootools的快速解决方案,就像来自jquery的$(document).height()?我只是需要真正的文档高度,浏览器独立.
谢谢!
您需要的所有方法都在Element.Dimensions中:http://mootools.net/docs/core/Element/Element.Dimensions
window.getSize().y 是视口高度.
window.getScrollSize().y 是文档的高度,包括可滚动的隐藏区域.
| 归档时间: |
|
| 查看次数: |
5446 次 |
| 最近记录: |