lundi 11 janvier 2016

Parallax not working when hosted

header doesn't work at augiepark.com

Local preview works fine, but it's when the site is hosted when the parallax stops working.

Can any one help?

<div id="scene">
        <div class="layer" data-depth=".1">
          <div class="layer3"></div>
        </div>
        <div class="layer" data-depth="0.3">
          <div class="layer1"></div>
        </div>
        <div class="layer" data-depth="0.4">
          <div class="layer2"></div>
        </div>
 </div>

JS:

$(document).ready(function(){
    $('#scene').parallax();
}); 

In my portfolio, the js is located on line 535 but I'm not sure if that's the right area it should be in




Aucun commentaire:

Enregistrer un commentaire