문제

i am working on http://bxslider.com/examples/ticker slider

my code is

$(document).ready(function(){    
    $('.bxslider').bxSlider({
       minSlides: 4,
       maxSlides: 4,
       slideWidth: 170,
       slideMargin: 10,
       ticker: true,
       speed: 90000
    });
});

see jsfiddle http://jsfiddle.net/Z32Q3/1/

my problem is how to stop sliding on mouseover

도움이 되었습니까?

해결책

use the below code:

tickerHover:true,
useCSS:false,

tickerHover Ticker will pause when mouse hovers over slider.

Note: this functionality does NOT work if using CSS transitions!

default: false
options: boolean (true / false)

You can check more option here: bxslider-4.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top