【问题标题】:JCarousel animate on mouse overJCarousel 鼠标悬停动画
【发布时间】:2010-02-23 22:43:32
【问题描述】:

当鼠标悬停在下一个或上一个按钮上时,JQuery 插件“JCaousel”可以配置为动画吗?

我尝试过使用“悬停”事件,但这根本没有动画效果。

我尝试过使用“mouseover”和“mouseenter”事件,但是当鼠标放在按钮上时,这两个事件都只会产生一次动画。然后用户必须将鼠标从按钮上移开,然后再将其移回以获得另一个动画。只要鼠标悬停,我想要的是流畅的连续动画。

这是我目前尝试过的代码:

jQuery(document).ready(function() {
        jQuery('#AllTellers').jcarousel({ buttonNextEvent: 'mouseover', buttonPrevEvent: 'mouseover' });
});

【问题讨论】:

    标签: jquery jquery-plugins jcarousel


    【解决方案1】:

    您可以在THIS OTHER QUESTION - /how-do-i-fire-a-click-continuously-while-something-is-hovered找到问题的答案

    这个答案谈到了 jCarouselLite,但在 jCarousel 中应该是一样的

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-12
      • 2021-11-13
      相关资源
      最近更新 更多