cor*_*ore 57 jquery height webpage
假设一个网页是浏览器窗口高度的两倍(因此有一个滚动条).如何在jQuery中检索网页的高度?
rah*_*hul 136
$(window).height(); // returns height of browser viewport $(document).height(); // returns height of HTML document
the*_*eIV 16
你可以使用height()文件的.
height()
$(document).height();
归档时间:
16 年,2 月 前
查看次数:
65354 次
最近记录:
7 年,2 月 前