2012-06-22 54 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有明確的通知:

就像暫停播放幻燈片時,鼠標懸停?
請通過我的個人資料頁面的聯繫表格給我寫信。我可以向您發送更新源。

我建議你這樣做。