利用jquery实现自动手风琴



47 184 62



特效描述:利用jquery实现 自动 手风琴,利用jquery实现自动手风琴

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/slidorion.css" />
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,200,700' rel='stylesheet' type='text/css'>

2. 引入JS

<script src="js/jquery.min.js"></script>
<script src="js/jquery.easing.js"></script>
<script src="js/jquery.slidorion.min.js"></script>

3. HTML代码

	<div id="header"><h1>SLIDORION</h1></div>
	<div id="slidorion">
		<div id="slider">
			<div id="slide1" class="slide">
				<img src="img/spiderman.jpg" width="488" height="400" />
			</div>
			<div id="slide2" class="slide">
				<img src="img/kick-ass.jpg" width="488" height="400" />
			</div>
			<div id="slide3" class="slide">
				<img src="img/hot-fuzz.jpg" width="488" height="400" />
			</div>
		</div>
		<div id="accordion">
			<div class="link-header">New Features</div>
			<div class="link-content">
				<p><strong>Slidorion</strong> has under gone some pretty important changes recently.</p>
				<p>It now <strong>supports HTML</strong> and not just images, something that is going to improve the usability of Slidorion a lot.</p>
				<p>Some new effects have been added, most importantly <strong>pan and zoom</strong>! Along with this are performance upgrades and <strong>vital bug fixes</strong>.</p>
			</div>
			<div class="link-header">Embedded Images</div>
			<div class="link-content">
				<p>Batman raises the stakes in his war on crime. With the help of Lieutenant Jim Gordon and District Attorney Harvey Dent, Batman sets out to dismantle the remaining criminal organizations that plague the city streets. But they soon find themselves prey to a reign of chaos unleashed by a rising criminal mastermind known to the terrified citizens of Gotham as The Joker.</p>
				<a href="http://51qianduan.com /">Read more</a>
			</div>
			<div class="link-header">Current Effects</div>
			<div class="link-content">
				<p>Top London cop, PC Nicholas Angel is good. Too good. And to stop the rest of his team looking bad, he is reassigned to the quiet town of Sandford. Everything seems quiet for Angel, until two actors are found decapitated. It is called an accident, but Angel isn't going to accept that, especially when more and more people turn up dead.</p>
				<a href="http://51qianduan.com /">Read more</a>
			</div>
		</div>
	</div>
	<div style="text-align:center;clear:both"><br><br><br>
</div>



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


热门标签: 滑动 滚动切换 滑动选项卡切换 flash焦点图 选项卡切换 滑动手风琴 焦点图 幻灯片 图片轮播 图片滑动 图片轮播 文字切换 手风琴

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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