シャッフル効果のある jQuery Cycle プラグインを使用しています。ホバー時に画像を拡大してから、より大きな画像でスライドショーを開始できるようにしたいと考えています。いくつかの異なる方法で CSS スタイリングを試みましたが、まだ成功していません。拡大またはシャッフルできるようですが、両方はできないようです。
これが私がこれまでに得たものです:
<script type="text/javascript">
$(document).ready(function(){
$('#s6').cycle({
fx: 'shuffle',
shuffle: {
top: -50,
left: 145
},
easing: 'easeOutBack',
delay: -1000,
speed: 700,
timeout: 3000,
}).cycle("pause").hover(function() {
$(this).cycle('resume');
},function(){
$(this).cycle('pause');
});
});
</script>
<div id="s6">
<img border="0" src="http://s3.amazonaws.com/dfc_attachments/images/3216165 /pool_house_fireplace_web.JPG" alt="Poolhouse Fireplace" width="150" height="100"/>
<img border="0" src="http://s3.amazonaws.com/dfc_attachments/images/3216093/pool_house_kitchen_web.JPG" alt="Poolhouse Kitchen" width="150" height="100"/>
</div>