利用jQuery实现图片滑块手风琴特效



14 52 18



特效描述:利用jQuery实现 图片滑块 手风琴特效,利用jQuery实现图片滑块手风琴特效

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/slidorion.css" />

2. 引入JS

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

3. HTML代码

<div id="header"><h2>SLIDORION - Multiple Demo</h2></div>
<div id="slidorion">
	<div id="slider">
		<div class="slider-image" rel="section1">
			<img src="img/kung-fu-panda.jpg" width="488" height="400" />
		</div>
		<div class="slider-image" rel="section2">
			<img src="img/the-dark-knight.jpg" width="488" height="400" />
		</div>
		<div class="slider-image" rel="section3">
			<img src="img/hot-fuzz.jpg" width="488" height="400" />
		</div>
	</div>
	<div id="accordion">
		<div class="header"><a class="slider-link" rel="section1">Kung Fu Panda 2</a></div>
		<div class="content">
			<p>In the Valley of Peace, Po Ping is revelling in his fulfilled dreams as he serves as the fabled Dragon Warrior protecting his home with his heroes now his closest friends. However, Po and company learn that the murderous Lord Shen of Gongman City is threatening the land with a fearsome new weapon that could mean the end of kung fu forever.</p>
			<a href="#">Read more</a>
		</div>
		<div class="header"><a class="slider-link" rel="section2">The Dark Knight</a></div>
		<div class="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="#">Read more</a>
		</div>
		<div class="header"><a class="slider-link" rel="section3">Hot Fuzz</a></div>
		<div class="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="#">Read more</a>
		</div>
	</div>
</div>
<br /><br /><br /><br /><br />
<div id="slidorion1">
	<div id="slider">
		<div class="slider-image" rel="section1">
			<img src="img/kung-fu-panda.jpg" width="488" height="400" />
		</div>
		<div class="slider-image" rel="section2">
			<img src="img/the-dark-knight.jpg" width="488" height="400" />
		</div>
		<div class="slider-image" rel="section3">
			<img src="img/hot-fuzz.jpg" width="488" height="400" />
		</div>
	</div>
	<div id="accordion">
		<div class="header"><a class="slider-link" rel="section1">Kung Fu Panda 2</a></div>
		<div class="content">
			<p>In the Valley of Peace, Po Ping is revelling in his fulfilled dreams as he serves as the fabled Dragon Warrior protecting his home with his heroes now his closest friends. However, Po and company learn that the murderous Lord Shen of Gongman City is threatening the land with a fearsome new weapon that could mean the end of kung fu forever.</p>
			<a href="#">Read more</a>
		</div>
		<div class="header"><a class="slider-link" rel="section2">The Dark Knight</a></div>
		<div class="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="#">Read more</a>
		</div>
		<div class="header"><a class="slider-link" rel="section3">Hot Fuzz</a></div>
		<div class="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="#">Read more</a>
		</div>
	</div>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



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


热门标签: 滚动切换 滚动条切换 滑动选项卡 滑动切换 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 渐隐切换 淡出淡进 淡出 淡进 图片淡出淡进 图片淡出 图片淡进 手风琴 水平手风琴 垂直手风琴 图片手风琴 文字手风琴 手风琴插件

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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