基于jQuery实现选项卡收缩幻灯片切换



33 129 44



特效描述:基于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

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