你的位置:首页 > Java教程

[Java教程]jQuery雷达扫描切换幻灯片代码


基于jQuery雷达扫描切换幻灯片代码。这是一款切换效果类似雷达扫描,支持鼠标滚轮滚动切换。效果图如下:

在线预览    源码下载

实现的代码。

html代码:

 <div class="scene">    <!-- page start -->    <div class="page page-1 active">      <div class="page--rotater"></div>      <div class="page--content">        <!--<h1>Page 1</h1>-->        <header class="htmleaf-header">          <script src="http://www.cnblogs.com//scripts/2bc/_gg_980_90.js" type="text/javascript"></script>        </header>      </div>    </div>    <!-- page end -->    <!-- page start -->    <div class="page page-2">      <div class="page--rotater"></div>      <div class="page--content">        <h1>Page 2</h1>      </div>    </div>    <!-- page end -->    <!-- page start -->    <div class="page page-3">      <div class="page--rotater"></div>      <div class="page--content">        <h1>Page 3</h1>      </div>    </div>    <!-- page end -->    <!-- page start -->    <div class="page page-4">      <div class="page--rotater"></div>      <div class="page--content">        <h1>Page 4</h1>      </div>    </div>    <!-- page end -->    <!-- page start -->    <div class="page page-5">      <div class="page--rotater"></div>      <div class="page--content">        <h1>Page 5</h1>      </div>    </div>    <!-- page end -->    <div class="rt-point">      <span class="page-number page-number-1 active">1</span>      <span class="page-number page-number-2">2</span>      <span class="page-number page-number-3">3</span>      <span class="page-number page-number-4">4</span>      <span class="page-number page-number-5">5</span>    </div>    <!-- footer start -->    <div class="footer">      <div class="nav">        <ul>          <li class="nav--btn nav--btn-1 active" data-page="1"></li>          <li class="nav--btn nav--btn-2" data-page="2"></li>          <li class="nav--btn nav--btn-3" data-page="3"></li>          <li class="nav--btn nav--btn-4" data-page="4"></li>          <li class="nav--btn nav--btn-5" data-page="5"></li>        </ul>      </div>    </div>    <!-- footer end -->  </div>

via:http://www.w2bc.com/article/54652