jquery自动手风琴代码 html手风琴特效

期待爱情 2019-11-19 367 阅读

特效描述:利用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 ptty 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 py 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://cxvn.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://cxvn.com /">Read more</a>
</div>
</div>
</div>
<div style="text-align:center;clear:both"><br><br><br>
</div>

演示地址下载地址

最新游戏