jQuery视差滚动效果插件:Enllax.js

jopen 9年前

Enllax是一个超轻量级和超级好用的jQuery视差滚动效果插件。

Parallax scrolling effect is never been easier

View Demo

How to Use:

1. At first include jQuery and jquery.enllax.js

<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>  <script src="jquery.enllax.min.js"></script>

2. Activate the Plugin

//very simple activation  $(window).enllax();    //or  $('#some-id').enllax();  // This selector should be parent of parallax scrolling elements




项目主页:http://www.open-open.com/lib/view/home/1438141231238