jquery.flexslider.js圖片切換插件帶縮略圖片的圖文切換效果代碼



96 381 128



特效描述:jquery.flexslider.js 圖片切換插件 帶縮略圖片的圖文 切換效果,圖片切換插件帶縮略圖片的圖文切換效果

代碼結構

1. 引入CSS

<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" 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.flexslider-min.js?ver=1.0"></script>
<script type="text/javascript" src="js/et_flexslider.js?ver=1.0"></script>

3. HTML代碼

<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://www.17sucai.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://www.17sucai.com/">
				read more</a></span> </div>
			</li>
			<!-- end .slide --></li>
			<li class="slide">
			<div class="slider_image">
				<a href="http://www.17sucai.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://www.17sucai.com/">
				read more</a></span> </div>
			</li>
			<!-- end .slide --></li>
			<li class="slide">
			<div class="slider_image">
				<a href="http://www.17sucai.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://www.17sucai.com/">
				read more</a></span> </div>
			</li>
			<!-- end .slide --></li>
			<li class="slide">
			<div class="slider_image">
				<a href="http://www.17sucai.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://www.17sucai.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>



用戶評論
大牛,別默默的看了,快登錄幫我點評一下吧!:)      登錄 | 注冊


熱門標簽: flash焦點圖 flash幻燈片 flashbanner flash圖片輪播 滑動選項卡 滑動切換 滾動切換 滾動條切換 滑動手風琴 選項卡切換 選項卡 切換 tab切換 頁面切換 選項卡插件 切換插件 漸隱切換 淡出淡進 淡出 淡進 切換按鈕 表單 表單美化 表單插件 表單美化插件 焦點圖 幻燈片 輪播圖 bar焦點圖 圖片淡出淡進 圖片淡出 圖片淡進 帶縮略圖的幻燈片 圖片切換 圖片選項卡 圖標選項卡 純圖片輪播 圖片輪播 選項卡自動切換 按鈕控制
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

jQuery/js討論群
群號:642649996
Css3+Html5討論群
群號:322131262

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

老夫子电子