<link rel="stylesheet" href="jquery.rondell.css" type="text/css" media="all" />
<script type="text/javascript" src="jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="jquery.rondell.js"></script>
<script>
$(function() {
$('#id名 > div').rondell({
autoRotation: { //自動再生設定
enabled: true,
direction: 0, //1で逆回り
delay: 5000 //遷移速度
}
});
});
</script>
自動再生の他にもコントローラーの設定、半径、拡大率、透過など多くの設定が可能です。
<div id="id名">
<div>
<img src="画像パス1">
<p>キャプション</p>
</div>
<div>
<img src="画像パス2">
<p>キャプション</p>
</div>
<!-- 以下画像分 -->
</div>
My favourite band.
My favourite band.
My favourite band.
My favourite band.
My favourite band.
My favourite band.