2012-06-22 55 views
0

你好,我有这样的剧本,但我想它里面添加,当我徘徊在它停止动画,当我走了它应该完成的动画normally.itOnebyOne.js脚本支持

<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script> 
<script src="js/onebyone/jquery.onebyone.js"></script> 
<script type="text/javascript" charset="utf-8"> 
     $(document).ready(function() {  
      $('#banner').oneByOne({ 
       className: 'oneByOne1', // the wrapper's name 
       easeType: 'fadeInDown', //'fadeInLeft', // the ease animation style 
       width: 580, // width of the slider 
       height: 200, // height of the slider 
       delay: 300, // the delay of the touch/drag tween 
       tolerance: 0.25, // the tolerance of the touch/drag 
       enableDrag: true, // enable or disable the drag function by mouse 
       showArrow: true, // display the previous/next arrow or not 
       showButton: false, // display the circle buttons or not 
       slideShow: true, // auto play the slider or not 
       slideShowDelay: 5000 // the delay millisecond of the slidershow 
      }); 
     }); 
     </script> 
+0

这个问题有有关暂停,随后在jQuery的恢复动画一些资源,这可能是有用的:http://stackoverflow.com/questions/5586068/jquery-pause-resume-animate我也想看看的' .hover'方法。 – Cecchi

回答

0

the OneByOne plugin homepage有明确的通知:

就像暂停播放幻灯片时,鼠标悬停?
请通过我的个人资料页面的联系表格给我写信。我可以向您发送更新源。

我建议你这样做。