简体   繁体   English

WOW.js在我的本地计算机上工作,但不在我的服务器上工作

[英]WOW.js working on my local but not on my server

I'm using wow.js for animations in my website with animate.css but when I test local here works perfectly but when I upload it to my server just not at all... Here's my link to my website http://eloisemonteiro.hol.es/ . 我正在使用animate.css在我的网站中使用wow.js制作动画,但是当我在本地测试时效果很好,但是当我将其上传到服务器上时却根本没有...这是我到我的网站的链接http:// eloisemonteiro .hol.es /

My js to call the wow.js 我的js叫wow.js

var wow = new WOW(
  {
    boxClass:     'wow',      
    animateClass: 'animated', 
    offset:       0,         
    mobile:       false        
  }
);
wow.init();

If you check the page 404 you will see that it works in there, here's the code of that one working: 如果您查看404页,就会看到它在其中工作,这是该代码的工作代码:

<h1 id="fittext3"  class="wow bounceIn">ERROR 404</h1>

And here the other image not working on my index page: 这里另一个图像在我的索引页面上不起作用:

    <div class="featurette" id="services">
        <img class="featurette-image img-responsive pull-left  wow bounceInLeft" src="img/customizacao.png" alt="Customizacao">
        <h2 class="featurette-heading">Customização de LMS</h2>
        <p class="lead">Customização da sua plataforma baseada na <mark>identidade visual</mark> de cada cliente com <mark>relatórios</mark> de acordo com cada necessidade.</p>
    </div>

由于我的Ajax页面,需要在某些setTimeout()中调用哇。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM