利用jquery实现纵向幻灯片选项卡



34 134 45



特效描述:利用jquery实现纵向幻灯片选项卡,利用jquery实现纵向幻灯片选项卡

代码结构

1. 引入CSS

<link href="style.css" rel="stylesheet" type="text/css" />

2. 引入JS

<script src="js/jquery.js"></script>
<script src="js/featuredbox.js"></script>

3. HTML代码

    <div id="content">
<!--DEMO start-->
<div id="box-wrap">
  <h1>Featured Box 2</h1>
  <p>On this page you can see an example of how you can place the navigation part wherever you want. In this example we created a box to highlight products. This can be used for example in a webshop.</p>
  <div class="border">
    <div class="featuredbox-wrapper" id="example1">
      <ul>
        <li> 
          <img src="images/slide1.jpg" alt="Slide 1" />
          <div><a href="#">Order this item now</a></div>
          <div>Feature slide 1</div>
        </li>
        <li>
          <img src="images/slide2.jpg" alt="Slide 2" />
          <div><a href="#">Order this item now</a></div>
          <div>Feature slide 2</div>
        </li>
        <li>
          <img src="images/slide3.jpg" alt="Slide 3" />
          <div><a href="#">Order this item now</a></div>
          <div>Feature slide 3</div>
        </li>
        <li>
          <img src="images/slide4.jpg" alt="Slide 4" />
          <div><a href="#">Order this item now</a></div>
          <div>Feature slide 4</div>
        </li>
        <li>
          <img src="images/slide5.jpg" alt="Slide 5" />
          <div><a href="#">Order this item now</a></div>
          <div>Feature slide 5</div>
        </li>
        <li>
          <img src="images/slide6.jpg" alt="Slide 6" />
          <div><a href="#">Order this item now</a></div>
          <div>Feature slide 6</div>
        </li>
      </ul>
    </div>
  </div>
<div style="text-align:center;clear:both">
</div>
  <div class="spacer">
    <!-- SPACER -->
  </div>
</div>
<!--DEMO end-->
</div>



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


热门标签: 滑动滑过 滚动切换 滑动选项卡切换 选项卡切换 滑动手风琴 图片滑动 图片切换

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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