利用jQuery实现立体缩略图切换特效



63 248 83



特效描述:利用jQuery实现 立体缩略图 切换特效,利用jQuery实现立体缩略图切换特效

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" id="et_responsive-css" href="css/responsive.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" id="et_responsive-css" href="css/responsive.css" type="text/css" media="all" />

2. 引入JS

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.fitvids.js?ver=1.0"></script>
<script type="text/javascript" src="js/jquery.flexslider-min.js?ver=1.0"></script>
<script type="text/javascript" src="js/et_flexslider.js?ver=1.0"></script>
<script type="text/javascript" src="js/jquery.easing-1.3.pack.js?ver=1.3.4"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.fitvids.js?ver=1.0"></script>
<script type="text/javascript" src="js/jquery.flexslider-min.js?ver=1.0"></script>
<script type="text/javascript" src="js/et_flexslider.js?ver=1.0"></script>
<script type="text/javascript" src="js/jquery.easing-1.3.pack.js?ver=1.3.4"></script>

3. HTML代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
</head>
</head>
<body class="home blog gecko et_includes_sidebar">
<div class="wrapper">
	<div id="featured" class="flexslider et_slider_auto et_slider_speed_4200">
		<ul class="slides">
			<li class="slide">
			<div class="slider_image">
				<a href="http://51qianduan.com/">
				<img src="images/slide-1.png" alt="Web Design Is Our Art and Passion" width="954" height="375" />
				<span class="slider_overlay"></span></a></div>
			<div class="banner">
				<h2>Web Design Is Our Art and Passion</h2>
				Nulla ornare, nulla et egestas hendrerit, ipsum dui vulputate dolor, 
				et ornare orci erat eleifend pede. Fusce eros libero, vestibulum 
				non, elementum eu, suscipit eget, leo. Donec consectetuer tincidunt 
				diam. Sed et mauris in ligula feugiat hendrerit. Cras neque purus, 
				mollis non, adipiscing ac, pretium eget, turpis. Cum sociis natoque 
				penatibus et magnis dis parturient montes, nascetur ridiculus...
				<br class="clear" />
				<span>
				<a href="http://51qianduan.com/">
				read more</a></span> </div>
			</li>
			<!-- end .slide --></li>
			<li class="slide">
			<div class="slider_image">
				<a href="http://51qianduan.com/">
				<img src="images/slide-2.png" alt="Advanced Features Give You Control" width="954" height="375" />
				<span class="slider_overlay"></span></a></div>
			<div class="banner">
				<h2>Advanced Features Give You Control</h2>
				Sed nec eros orci, in facilisis mi. Cras lorem massa, viverra at 
				dapibus id, posuere euismod elit. Mauris libero nisl, iaculis et 
				tincidunt non, dapibus vitae ligula. In pharetra faucibus eros, 
				at rhoncus leo sollicitudin quis. Vestibulum quis arcu non urna 
				ultrices vestibulum. Fusce facilisis quam ut ipsum imperdiet eu 
				ullamcorper orci volutpat. Vivamus vitae neque odio. Aenean convallis, 
				augue... <br class="clear" />
				<span>
				<a href="http://51qianduan.com/">
				read more</a></span> </div>
			</li>
			<!-- end .slide --></li>
			<li class="slide">
			<div class="slider_image">
				<a href="http://51qianduan.com/">
				<img src="images/slide-3.png" alt="A Price That Wont Hurt Your Pocket" width="954" height="375" />
				<span class="slider_overlay"></span></a></div>
			<div class="banner">
				<h2>A Price That Wont Hurt Your Pocket</h2>
				Nulla ornare, nulla et egestas hendrerit, ipsum dui vulputate dolor, 
				et ornare orci erat eleifend pede. Fusce eros libero, vestibulum 
				non, elementum eu, suscipit eget, leo. Donec consectetuer tincidunt 
				diam. Sed et mauris in ligula feugiat hendrerit. Cras neque purus, 
				mollis non, adipiscing ac, pretium eget, turpis. Cum sociis natoque 
				penatibus et magnis dis parturient montes, nascetur ridiculus...
				<br class="clear" />
				<span>
				<a href="http://51qianduan.com/">
				read more</a></span> </div>
			</li>
			<!-- end .slide --></li>
			<li class="slide">
			<div class="slider_image">
				<a href="http://51qianduan.com/">
				<img src="images/slide-4.png" alt="We Focus on Customer Support" width="954" height="375" />
				<span class="slider_overlay"></span></a></div>
			<div class="banner">
				<h2>We Focus on Customer Support</h2>
				Curabitur a congue turpis. Nunc eleifend magna quis libero dignissim 
				at vestibulum ante ultricies. Fusce magna risus, condimentum eu 
				tincidunt id, sodales iaculis tortor. Sed gravida rhoncus sagittis. 
				Aenean vehicula augue non arcu pharetra ullamcorper. Vestibulum 
				facilisis ligula a neque accumsan sagittis. Suspendisse dolor erat, 
				fringilla nec tempor quis, sodales vel turpis. Quisque...
				<br class="clear" />
				<span>
				<a href="http://51qianduan.com/">
				read more</a></span> </div>
			</li>
			<!-- end .slide --></li>
		</ul>
		<!-- end .slides --><span class="slider_shadow"></span>
		<div id="switcher">
			<div class="item">
				<div class="wrap active">
					<span class="image">
					<img src="images/slide-1-560959_83x83.png" alt="Web Design Is Our Art and Passion" width="83" height="83" />
					<span class="slider_small_overlay"></span></span>
					<div class="hover">
						<span>Web Design Is Our Art and Passion</span>
						<br class="clear" />
						Nulla ornare, nulla et egestas hendrerit, ipsum dui vulputate 
						dolor, et ornare... </div>
				</div>
			</div>
			<div class="item">
				<div class="wrap ">
					<span class="image">
					<img src="images/slide-2-344429_83x83.png" alt="Advanced Features Give You Control" width="83" height="83" />
					<span class="slider_small_overlay"></span></span>
					<div class="hover">
						<span>Advanced Features Give You Control</span>
						<br class="clear" />
						Sed nec eros orci, in facilisis mi. Cras lorem massa, viverra 
						at dapibus id,... </div>
				</div>
			</div>
			<div class="item">
				<div class="wrap ">
					<span class="image">
					<img src="images/slide-3-506616_83x83.png" alt="A Price That Wont Hurt Your Pocket" width="83" height="83" />
					<span class="slider_small_overlay"></span></span>
					<div class="hover">
						<span>A Price That Wont Hurt Your Pocket</span>
						<br class="clear" />
						Nulla ornare, nulla et egestas hendrerit, ipsum dui vulputate 
						dolor, et ornare... </div>
				</div>
			</div>
			<div class="item">
				<div class="wrap ">
					<span class="image">
					<img src="images/slide-4-404264_83x83.png" alt="We Focus on Customer Support" width="83" height="83" />
					<span class="slider_small_overlay"></span></span>
					<div class="hover">
						<span>We Focus on Customer Support</span>
						<br class="clear" />
						Curabitur a congue turpis. Nunc eleifend magna quis libero 
						dignissim at... </div>
				</div>
			</div>
		</div>
		<!-- #switcher --></div>
</div>
<br><br><br><br>
<div style="text-align:center;clear:both">
</div>
</body>
</html>



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


热门标签: 导航切换 带标题的焦点图 缩略图 带缩略图的幻灯片 图片相册 带简介的焦点图 图片切换 图片轮播 图片墙 文字切换 自动滚动图片轮播 百叶窗 背景切换 图片网格 马赛克幻灯片 手风琴 图片九宫格 全屏焦点图 选项卡自动切换 视频切换 图片高亮 列表切换 图片对比 图片文字 渐隐切换 单排图片 全屏切换 响应式图片 切换按钮 图片列表 缩放切换 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 flash焦点图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 选项卡切换 滑动手风琴 背景切换 手风琴 图表 焦点图幻灯片 图片 头像截图

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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