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



33 130 44



特效描述:利用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>



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


热门标签: 图片叠加 图片层叠 图片翻转 图片旋转 图片延迟加载 图片延迟 图片加载 图片拖动 图片拖拽 图片淡出淡进 图片淡出 图片淡进 图片全屏 头像上传 图片上传 二维码 图片放大镜 h5图片动画 h5图标动画 html5图片动画 html5图标动画 带缩略图的幻灯片 地图 中国地图 世界地图 flash焦点图 flash幻灯片 flashbanner flash图片轮播 图片放大缩小 图片缩放 图片大小 图片放大 图片缩小 图片变大 图片变小 滚动切换 滚动条切换 滑动选项卡 滑动切换 图片广告 图片收缩展开 图片收缩 图片展开 纯图片轮播 图片轮播 图片滚动 图片滚动条 图片滑动 图片滑块 旋转木马 图片旋转木马 文字旋转木马 旋转木马插件 图片切换 图片选项卡 图标选项卡 图标导航 图标菜单 自动滚动图片轮播 滑动手风琴 背景切换 大图切换 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 手风琴 水平手风琴 垂直手风琴 图片手风琴 文字手风琴 手风琴插件 图表 焦点图 幻灯片 轮播图 bar焦点图 图片 图片插件 头像截图 缩略图 图片切换 图片选项卡 图标选项卡 纯图片轮播 图片轮播 选项卡自动切换 图片文字 图片切换 切换图片

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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