jquery 实现 左侧固定分类导航和图片轮播滚动特效,基于superslide开发,结构简单清晰,jquery参数均可修改,下载即可使用。
使用方法
1、head引入css文件
<link href="css/style.css" rel="stylesheet" type="text/css"/>2、head引入js文件
<script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>3、body引入HTML代码
<div class="banner-content"> <div class="banner-content-box"> <div class="banner-nav-left"> <ul> <li> <h3>汽车金融</h3> <a href="#" target="_blank">购车分期</a> </li> <li> <h3>房产金融</h3> <a href="#" target="_blank">租房分期</a> </li> <li> <h3>现金贷款</h3> <a href="#" target="_blank">消费贷</a> <a href="#" target="_blank">快速贷</a> <a href="#" target="_blank">信贷之家</a> </li> <li> <h3>生活服务</h3> <a href="#" target="_blank">信用卡</a> <a href="#" target="_blank">保险</a> </li> <li class="bor-none"> <h3>商务合作</h3> <a href="#" target="_blank">机构合作</a> <a href="#" target="_blank">商家合作</a> </li> </ul> </div> <div class="banner-slide"> <div class="hd banner-slide-circle"> <ul class="clearfix"> <li class="on"></li> <li></li> <li></li> <li></li> </ul> </div> <div class="bd banner-slide-body"> <ul> <li> <a href="#"> <img src="images/banner001.png" alt=""> </a> </li> <li> <a href="#"> <img src="images/banner002.jpg" alt=""> </a> </li> <li> <a href="#"> <img src="images/banner003.jpg" alt=""> </a> </li> <li> <a href="#"> <img src="images/banner004.jpg" alt=""> </a> </li> </ul> </div> <a class="prev" href="javascript:void(0)"></a> <a class="next" href="javascript:void(0)"></a> </div> </div> </div> <script type="text/javascript"> jQuery(".banner-slide").slide({ mainCell: ".bd ul", effect: "fade", autoPlay: true, trigger: "click", delayTime: 500 }); </script>