用法:
<ul id="scene" class="scene">
<li class="layer"
data-depth="-0.20"><img src="images/bannerbg01.png"></li>
<li class="layer" data-depth="0.30"><img
src="images/bannerbg02.png"></li>
<li class="layer"
data-depth="0.02"><img src="images/bannerbg03.png"></li>
</ul>
<script
src="js/parallax.min.js"></script>
<script>
var scene =
document.getElementById(‘scene‘);
var parallax = new
Parallax(scene);
</script>