利用jQuery实现自动滚动切换特效



45 178 60



特效描述:利用jQuery实现 自动滚动 切换特效,利用jQuery实现自动滚动切换特效

代码结构

1. 引入CSS

<link rel="stylesheet" href="reset.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="style.css" type="text/css" media="screen" charset="utf-8" />

2. 引入JS

<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="general.js"></script>

3. HTML代码

<div id="block">
	<div>
		<h1 class="h">Sample Content</h1>
		<ul class="htabs">
			<li><h2><a href="#design" id="designt">Graphic design</a></h2></li>
			<li><h2><a href="#development" id="developmentt">Development</a></h2></li>
			<li><h2><a href="#freebies" id="freebiest">Freebies</a></h2></li>
		</ul>
		<div class="tabs">
			<div class="tab" id="design"><ul>
				<li><a href="http://51qianduan.com/" target="_blank">Typography</a></li>
				<li><a href="http://51qianduan.com/" target="_blank">Typefaces</a></li>
				<li><a href="http://51qianduan.com/" target="_blank">Painting</a></li>
				<li><a href="http://51qianduan.com/" target="_blank">Grid systems</a></li>
				<li><a href="http://51qianduan.com/" target="_blank">Optical balance</a></li>
			</ul></div>
			<div class="tab" id="development">
			<ul>
				<li><span class="bullet">1</span><a href="http://51qianduan.com/" target="_blank">jQuery rollovers</a></li>
				<li><span class="bullet">2</span><a href="http://51qianduan.com" target="blank">WordPress plugins</a></li>
				<li><span class="bullet">3</span><a href="http://51qianduan.com/" target="_blank">jQuery slide menu</a></li>
				<li><span class="bullet">4</span><a href="http://51qianduan.com/" target="_blank">Web development</a></li>
				<li><span class="bullet">5</span><a href="http://51qianduan.com/" target="_blank">Content management system</a></li>
			</ul></div>
			<div class="tab bmod" id="freebies">
			<ul>
				<li><span class="bullet">a</span><a href="http://51qianduan.com/" target="_blank">Icons</a></li>
				<li><span class="bullet">b</span><a href="http://51qianduan.com/" target="_blank">Free font giveaway</a></li>
				<li><span class="bullet">c</span><a href="http://51qianduan.com/" target="_blank">Daxion, Tessa, Merlin, Mai</a></li>
				<li><span class="bullet">d</span><a href="http://51qianduan.com/">DOWNLOAD ME</a></li>
				<li><span class="bullet">e</span><a href="http://51qianduan.com/" target="_blank">ILC Thickbox, ILC FLVBox</a></li>
			</ul></div>
		</div>
	</div><br />
<br /><br />
</div>
<div style="text-align:center;clear:both">
</div>



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


热门标签: 滚动流动 滚动切换 滑动选项卡切换 自动滚动图片轮播 选项卡切换 滑动手风琴 文字滚动 文字切换

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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