How to prevent cycle plugin to autoplay?

Ramon Vasconcelos picture Ramon Vasconcelos · Apr 23, 2013 · Viewed 9.8k times · Source

Im using cycle plugin and its working well. But the slider keeps sliding and i dont know what option should i use to prevent it autoplay.

$('#thumbs').cycle({
            fx: 'scrollHorz',
            prev: '.thumbPrev',
            next: '.thumbNext'
        });

I also checked cycle's options reference http://jquery.malsup.com/cycle/options.html but i did not found anything usefull..

Answer

Ramon Vasconcelos picture Ramon Vasconcelos · Apr 23, 2013

I found the solution

$(elem).cycle({
    timeout: 0 //milliseconds between slide transitions (0 to disable auto advance)
});

timeout is standard defined 4000