基于jQuery實現選項卡收縮幻燈片切換



43 169 57



特效描述:基于jQuery實現 選項卡收縮 幻燈片切換,基于jQuery實現選項卡收縮幻燈片切換

代碼結構

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/27.css" />
<link rel="stylesheet" type="text/css" href="css/home.css">

2. 引入JS

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/27.js" charset="utf-8"></script>
<script type="text/javascript" src="js/jquery.lazyload.min.js"></script>

3. HTML代碼

<br>
<div id="fb-root">
</div>
<div id="theme-body">
	<div id="theme-bleed">
		<div id="container">
			<div class="show_verification_msg">
			</div>
			<div id="content">
				<div id="pocket" class="pocket">
<article id="home">
<section id="slideshow">
<nav id="slideshow-nav">
					<a class="nav hide btn-blue" href="http://51qianduan.com/" style="height:91px;line-height:91px;" data-slideto="0">
					<span class="v-middle">
					<h1 class="title">Shirt of the Day</h1>
					<p class="subtitle">Ancient Ink<br>
					by hghmn</p>
					</span>
					<span class="icon sprite sprite-home shirt_of_the_day">
					</span>
					<div class="progress">
					</div>
					</a>
					<a class="nav hide" href="http://51qianduan.com" style="height:91px;line-height:91px;" data-slideto="990">
					<span class="v-middle">
					<h1 class="title">3 Tees for $20</h1>
					<p class="subtitle">Celebrate 10 Million Tee Grinds with 3 Tees 
					for $20</p>
					</span><span class="icon sprite sprite-home sale"></span>
					<div class="progress">
					</div>
					</a>
					<a class="nav hide" href="http://51qianduan.com" style="height:91px;line-height:91px;" data-slideto="1980">
					<span class="v-middle">
					<h1 class="title">Fall 2013 Lookbook</h1>
					<p class="subtitle">Hot New Looks for Fall With Design By Humans 
					Tees</p>
					</span><span class="icon sprite sprite-home most_wanted">
					</span>
					<div class="progress">
					</div>
					</a>
					<a class="nav hide" href="http://51qianduan.com" style="height:91px;line-height:91px;" data-slideto="2970">
					<span class="v-middle">
					<h1 class="title">Vote on Diablo III Art</h1>
					<p class="subtitle">Submitted by Cjmarsh</p>
					</span><span class="icon sprite sprite-home vote"></span>
					<div class="progress">
					</div>
					</a>
					<a class="nav hide last" href="http://51qianduan.com/" style="height:91px;line-height:91px;" data-slideto="3960">
					<span class="v-middle">
					<h1 class="title">Hoodies</h1>
					<p class="subtitle">They Are Back!</p>
					</span><span class="icon sprite sprite-home most_wanted">
					</span>
					<div class="progress">
					</div>
					</a>
</nav>
					<ul id="slideshow-slides" class="listings dbh-slider dbh-slider-banner dbh-slider-parent lazy-parent">
						<li class="listing"><a href="http://51qianduan.com/">
						<img src="images/slide-ancient-ink.jpg" alt="Ancient Ink&lt;br&gt;by hghmn" width="990" height="460">
						</a>
						<p class="slide_content">
						<span class="slide_price fleft">$18</span>
						<a href="http://51qianduan.com/" class="slide_text fleft">
						Ancient Ink by hghmn</a> <span class="hidden">Sale Ends 
						In </span>
						<span class="slide_timer fleft" id="shirt_of_the_day_countdown" data-seconds="16987">
						04:43:07</span>
						<a class="btn btn-blue colorbox" href="http://51qianduan.com/">
						Buy Now</a> </p>
						</li>
						<li class="listing"><a href="http://51qianduan.com/">
						<img src="/images/layout/clear.gif" class="lazy-child" data-original="images/anbd_gyh.jpg" alt="Celebrate 10 Million Tee Grinds with 3 Tees for $20" width="990" height="460">
						</a></li>
						<li class="listing"><a href="http://51qianduan.com/">
						<img src="/images/layout/clear.gif" class="lazy-child" data-original="images/ak4z_ep2.jpg" alt="Hot New Looks for Fall With Design By Humans Tees" width="990" height="460">
						</a></li>
						<li class="listing">
						<a href="http://51qianduan.com/">
						<img src="/images/layout/clear.gif" class="lazy-child" data-original="images/a6tv_w1b-990x460.jpg" alt="Submitted by Cjmarsh" width="990" height="460">
						</a>
						<p class="slide_content">
						<a href="http://51qianduan.com/" class="slide_text fleft">
						Vote for your Favorite Dialbo III Artwork!</a> </p>
						</li>
						<li class="listing">
						<a href="http://51qianduan.com/">
						<img src="/images/layout/clear.gif" class="lazy-child" data-original="images/anqd_b8z.jpg" alt="They Are Back!" width="990" height="460">
						</a></li>
					</ul>
</section>						
				</div>
			</div>
		</div>
	</div>
</div>
<div style="text-align:center;clear:both">
</div>



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


熱門標簽: 滾動切換 滾動條切換 滑動選項卡 滑動切換 flash焦點圖 flash幻燈片 flashbanner flash圖片輪播 選項卡切換 選項卡 切換 tab切換 頁面切換 選項卡插件 切換插件 滑動手風琴 滑動星星打分 收縮展開 展開收縮 收縮 展開 焦點圖 幻燈片 輪播圖 bar焦點圖 其他 文字收縮展開 文字收縮 文字展開 帶簡介的焦點圖 圖片切換 圖片選項卡 圖標選項卡 純圖片輪播 圖片輪播 選項卡自動切換 鼠標滑過 鼠標懸停 跟隨鼠標移動
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

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

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

湖北30选5开奖结果走势图表