0

こんにちは、私はこのスクリプトを持っていますが、ホバリングするとアニメーションが停止し、外に出るとアニメーションが正常に完了するはずです。

<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> 
4

1 に答える 1

0

OneByOneプラグインのホームページには、明確な通知があります。

マウスがホバーしたときにスライドショーを一時停止したいですか?
プロフィールページのお問い合わせフォームからご連絡ください。更新元を送ります。

そうすることをお勧めします。

于 2012-06-22T09:37:02.507 に答える