利用jQuery实现带缩略图焦点图轮播切换特效



46 181 61



特效描述:利用jQuery实现 带缩略图焦点图 轮播切换特效,利用jQuery实现带缩略图焦点图轮播切换特效

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/slider-pro.min.css" media="screen"/>
<link rel="stylesheet" type="text/css" href="css/examples.css" media="screen"/>

2. 引入JS

<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="js/jquery.sliderPro.min.js"></script>

3. HTML代码

<br>
<div id="example5" class="slider-pro">
  <div class="sp-slides">
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image1_medium.jpg" data-retina="images/image1_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image2_medium.jpg" data-retina="images/image2_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
   <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image3_medium.jpg" data-retina="images/image3_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image4_medium.jpg" data-retina="images/image4_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image5_medium.jpg" data-retina="images/image5_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image1_medium.jpg" data-retina="images/image1_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image2_medium.jpg" data-retina="images/image2_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image3_medium.jpg" data-retina="images/image3_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image4_medium.jpg" data-retina="images/image4_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
    <div class="sp-slide"><img class="sp-image" src="css/images/blank.gif" data-src="images/image5_medium.jpg" data-retina="images/image5_large.jpg"/>
      <div class="sp-caption">51前端 - www.51qianduan.com</div>
    </div>
  </div>
  <div class="sp-thumbnails">
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image1_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image2_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image3_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image4_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image5_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image6_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image7_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image8_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image9_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
    <div class="sp-thumbnail">
      <div class="sp-thumbnail-image-container"> <img class="sp-thumbnail-image" src="images/image10_thumbnail.jpg"/> </div>
      <div class="sp-thumbnail-text">
        <div class="sp-thumbnail-title">51前端</div>
        <div class="sp-thumbnail-description">sucaijiayuan.com</div>
      </div>
    </div>
  </div>
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滚动 滚动条 页面滚动 滚动插件 滚动条插件 滚动条美化 滑动选项卡 滑动切换 滚动切换 滚动条切换 flash焦点图 flash幻灯片 flashbanner flash图片轮播 自动滚动图片轮播 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 切换按钮 表单 表单美化 表单插件 表单美化插件 焦点图 幻灯片 轮播图 bar焦点图 带标题的焦点图 带缩略图的幻灯片 图片滚动 图片滚动条 图片切换 图片选项卡 图标选项卡 纯图片轮播 图片轮播 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到