基于jQuery实现图中带描述幻灯片切换



67 267 90



特效描述:基于jQuery实现 图中带描述 幻灯片切换,基于jQuery实现图中带描述幻灯片切换

代码结构

1. 引入CSS

<link media="screen,projection" rel="stylesheet" type="text/css" href="styles/screen.css" />

2. 引入JS

<script type="text/javascript" src="scripts/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="scripts/slides.min.jquery.js"></script>
<script type="text/javascript" src="scripts/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="scripts/global.js"></script>

3. HTML代码

<br>
	<div id="content" class="wrap clearfix">
		<div class="imgSliderContainer">
		    <div class="imgSlider">
				<div class="imgSliderC">
					<div>
						<img src="contents/slider_image_1.jpg" alt="slider 1" />
						<section>
							<h2>PIXEL PERFECT UNIQUE HEADER 1</h2>
							<p>Lorem Ipsum is simply dummy texof the printing and typesetting industry.  Ipsum has been thlorm ispum ine industry's .also the leap into electronic typesetting, remaining essentially unchanged.</p>
						</section>
						<a href="#" class="imgSliderPrev imgSliderTextPrev"></a>
						<a href="#" class="imgSliderNext imgSliderTextNext"></a>
					</div>
					<div>
						<img src="contents/slider_image_2.jpg" alt="slider 2" />
						<section>
							<h2>PIXEL PERFECT UNIQUE HEADER 2</h2>
							<p>Lorem Ipsum is simply dummy texof the printing and typesetting industry.  Ipsum has been thlorm ispum ine industry's .also the leap into electronic typesetting, remaining essentially unchanged.</p>
						</section>
						<a href="#" class="imgSliderPrev imgSliderTextPrev"></a>
						<a href="#" class="imgSliderNext imgSliderTextNext"></a>
					</div>
					<div>
						<img src="contents/slider_image_3.jpg" alt="slider 3" />
						<section>
							<h2>PIXEL PERFECT UNIQUE HEADER 3</h2>
							<p>Lorem Ipsum is simply dummy texof the printing and typesetting industry.  Ipsum has been thlorm ispum ine industry's .also the leap into electronic typesetting, remaining essentially unchanged.</p>
						</section>
						<a href="#" class="imgSliderPrev imgSliderTextPrev"></a>
						<a href="#" class="imgSliderNext imgSliderTextNext"></a>
					</div>
					<div>
						<img src="contents/slider_image_4.jpg" alt="slider 4" />
						<section>
							<h2>PIXEL PERFECT UNIQUE HEADER 4</h2>
							<p>Lorem Ipsum is simply dummy texof the printing and typesetting industry.  Ipsum has been thlorm ispum ine industry's .also the leap into electronic typesetting, remaining essentially unchanged.</p>
						</section>
						<a href="#" class="imgSliderPrev imgSliderTextPrev"></a>
						<a href="#" class="imgSliderNext imgSliderTextNext"></a>
					</div>
					<div>
						<img src="contents/slider_image_5.jpg" alt="slider 5" />
						<section>
							<h2>PIXEL PERFECT UNIQUE HEADER 5</h2>
							<p>Lorem Ipsum is simply dummy texof the printing and typesetting industry.  Ipsum has been thlorm ispum ine industry's .also the leap into electronic typesetting, remaining essentially unchanged.</p>
						</section>
						<a href="#" class="imgSliderPrev imgSliderTextPrev"></a>
						<a href="#" class="imgSliderNext imgSliderTextNext"></a>
					</div>
				</div><!--imgSliderC-->
				<a class="imgSliderPrev" href="#">Prev</a>
				<a class="imgSliderNext" href="#">Next</a>
				<div class="imgSliderPaginationContainer clearfix" style="margin-left: -95px;">
					<div class="imgSliderPaginationContainerLeft"></div>
					<div class="imgSliderPaginationContainerCenter">
						<ul class="imgSliderPagination clearfix">
							<li class="imgSliderCurrent"><a href="#0">1</a></li>
							<li><a href="#1">2</a></li>
							<li><a href="#2">3</a></li>
							<li><a href="#3">4</a></li>
							<li><a href="#4">5</a></li>
						</ul>
					</div>	
					<div class="imgSliderPaginationContainerRight"></div>
				</div><!--imgSliderPaginationContainer-->
			</div><!--imgSlider-->
		</div><!--imgSliderContainer-->
		<div class="sliderBottomPattern"></div>
<div style="text-align:center;clear:both">
</div>		



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


热门标签: 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 flash焦点图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 选项卡切换 滑动手风琴 背景切换 手风琴 切换按钮 form表单 图表 焦点图幻灯片 图片 头像截图 带简介的焦点图 图片切换 图片轮播 选项卡自动切换 图片文字 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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