【问题标题】:One-page Bootstrap website loading at the bottom of the page, when it should load at the top一页Bootstrap网站在页面底部加载,当它应该在顶部加载时
【发布时间】:2016-05-22 09:38:29
【问题描述】:

我被一个问题难住了。我使用 Bootstrap 建立了一个单页网站。它使用 spyscroll 来更新导航,我添加了一些 jQuery 以使其运行顺畅。但是,我的网站正在加载,页面底部正在显示。我曾尝试使用我的 Windows 桌面、Windows 平板电脑和 Kindle Fire,但它总是在网站底部加载。

如果您转到以下 URL,您可以自己查看。 http://nootech.co.uk/bootstrap-one-page/

index.php 一页网页和 jQuery 文件的代码在: https://gist.github.com/nicholasdixon/9ab9f248bbdb60f4eae0f785787020d6

【问题讨论】:

  • 看起来不错,在我的 iPad Pro 上整页

标签: jquery twitter-bootstrap


【解决方案1】:

尝试从输入 name="name" 中删除 autofocus="autofocus"

【讨论】:

  • 作为传统,当您得到答案时。也请标记为答案!
猜你喜欢
  • 2012-04-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-04-02
  • 1970-01-01
  • 2020-07-11
  • 1970-01-01
  • 2018-05-22
相关资源
最近更新 更多