六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 168|回复: 0

CSS+jQuery实现滑动幻灯片实例详解

[复制链接]

升级  58.8%

250

主题

250

主题

250

主题

进士

Rank: 4

积分
794
 楼主| 发表于 2013-2-7 23:04:48 | 显示全部楼层 |阅读模式
HTML部分代码

Start with having a wrapping container div called main_view, and two sections nested inside called image_reel and paging. The image_reel will contain the sliding images, and paging contains the paging controls. Take a look at the image below for a visual.
 
<div class="main_view">    <div class="window">        <div class="image_reel">            <a href="#"><img src="reel_1.jpg" alt="" /></a>            <a href="#"><img src="reel_2.jpg" alt="" /></a>            <a href="#"><img src="reel_3.jpg" alt="" /></a>            <a href="#"><img src="reel_4.jpg" alt="" /></a>        </div>    </div>    <div class="paging">        <a href="#" rel="1">1</a>        <a href="#" rel="2">2</a>        <a href="#" rel="3">3</a>        <a href="#" rel="4">4</a>    </div></div> <div style="width: 585px;" class="wp-caption aligncenter"> 
css+jQuery实现滑动幻灯片实例教程
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表