【问题标题】:Loading Bar on my website [closed]在我的网站上加载栏[关闭]
【发布时间】:2017-07-07 10:30:50
【问题描述】:

请我试图在我的网站上仿制一个加载栏,我已经搜索了文件,仍然找不到它。我也尝试使用谷歌浏览器进行检查,但我无法定位加载程序。请帮忙

Click here for to visit website.

【问题讨论】:

  • 请出示您的网页代码。
  • 请先看这个how-to-ask

标签: javascript php jquery html css


【解决方案1】:
<div class="pace  pace-inactive">
    <div class="pace-progress" style="width: 100%;" data-progress-text="100%" data-progress="99">
        <div class="pace-progress-inner"></div>
    </div>
    <div class="pace-activity"></div>
</div>

删除这个 html 结构。还应该有一个触发加载栏的 javascript/css。你也可以删除它。

它在你的脑海里:

<script src="assets/plugins/pace/pace.min.js"></script>
<link href="assets/plugins/pace/pace.css" rel="stylesheet">

【讨论】:

  • 非常感谢大家成功
【解决方案2】:

只需转到您页面的 HTML。从顶部开始,搜索&lt;body&gt; 标签。在它下面你会发现这个:

<div class="pace  pace-inactive"><div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
  <div class="pace-progress-inner"></div>
</div>
<div class="pace-activity"></div></div>

删除所有这些行,你会没事的

并删除 &lt;head&gt; 标签中的这两行

<link href="assets/plugins/pace/pace.css" rel="stylesheet">
<script src="assets/plugins/pace/pace.min.js"></script>

【讨论】:

  • 我不认为您要求删除它是可能的,因为此代码通过速度插件动态附加到 index.html 中的应用程序代码。所以,你不会在 index.html 中找到这行代码。
  • 我已经编辑了我的答案。立即查看
  • @ARITRA。我仍然相信您不会在 index.html 中找到“pace pace-inactive”类或 div,它是动态附加的。
  • 只需从 标签中删除这两行就可以了
【解决方案3】:

从 head 部分的 index.html 中删除 Pace 库/插件 &来自应用程序内的资产文件夹。

<link href="assets/plugins/pace/pace.css" rel="stylesheet">
<script src="assets/plugins/pace/pace.min.js"></script>

【讨论】:

    猜你喜欢
    • 2016-01-20
    • 1970-01-01
    • 2013-04-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-09-28
    • 2017-08-28
    • 2017-06-08
    相关资源
    最近更新 更多