利用jQuery實現立體縮略圖切換特效



36 143 48



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

加群請備注:從官網了解到

老夫子电子