【问题标题】:Mobile menu button is unclickable移动菜单按钮无法点击
【发布时间】:2014-04-02 05:22:39
【问题描述】:

我正在尝试构建一个响应式 Wordpress 网站。 Link。我正在使用 HTML5 Boilerplate,并且一直在通过谷歌和这里寻找问题。

在 iPhone iOS 7 上打开网站时的菜单按钮没有响应。在 PC 上通过 Chrome 或 Firefox 放大时,效果非常好。但是,每当我在 Mobile Safari 或 Chrome 中打开网站时,都没有任何效果。该按钮最终会突出显示但不会打开。

如果有人能告诉我它是否可以在他们的手机上运行或是否有解决方案,我将不胜感激。可能只是一个巨大的错误,但我找不到它:-( 我只有这个智能手机,所以我无法在其他地方测试它。

我想我已经看了太久了。 提前谢谢!

【问题讨论】:

  • 你试过 www.getbootstrap.com 吗?
  • 您已尝试添加不存在的脚本 js/vendor/bootstrap.min.js 和 js/main.js。

标签: javascript html css html5boilerplate


【解决方案1】:

在我的浏览器中查看错误控制台,在为您的网站加载 javascript 资源时出现几个错误:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (modernizr-2.6.2-respond-1.1.0.min.js, line 0) http://miar.ch/fhas/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.min.js, line 0) http://miar.ch/fhas/wp-content/themes/JDK/js/bootstrap.min.js?ver=3.8.1
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.min.js, line 0) http://miar.ch/fhas/js/vendor/bootstrap.min.js
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (main.js, line 0) http://miar.ch/fhas/js/main.js

您应该检查这些文件是否已正确上传到您的服务器。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-04-07
    • 1970-01-01
    • 1970-01-01
    • 2018-03-07
    • 1970-01-01
    • 2016-12-31
    • 2021-10-07
    相关资源
    最近更新 更多