添加<!DOCTYPE html>的好处

admin 提交于 星期四, 08/10/2017 - 16:34

$(window).height()可以得到窗口高度,否则就是文档的高度。

参考:https://stackoverflow.com/questions/12103208/jquery-window-height-is-returning-the-document-height

标签

添加新评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal8"