【问题标题】:OnebyOne.js script supportOnebyOne.js 脚本支持
【发布时间】:2023-03-15 09:36:01
【问题描述】:

你好,我有这个脚本,但是当我将鼠标悬停在它上面时我想在里面添加它会停止动画,当我出去时它应该正常完成动画。它

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

【问题讨论】:

标签: javascript jquery html jquery-ui user-experience


【解决方案1】:

the OneByOne plugin homepage上有明确的通知:

喜欢在鼠标悬停时暂停幻灯片放映?
请通过我的个人资料页面的联系表给我留言。我可以把更新源发给你。

我建议你这样做。

【讨论】:

    猜你喜欢
    • 2016-12-03
    • 1970-01-01
    • 1970-01-01
    • 2021-11-05
    • 2015-02-15
    • 2010-09-22
    • 2018-04-27
    • 2016-04-27
    • 2012-07-07
    相关资源
    最近更新 更多