‹‹ cycle homejQuery Cycle Plugin - Variable Timeout Demo


$(function() {
    $('#s1').cycle({
        fx:     'shuffle',
        speed:  'fast',
		timeoutFn: calculateTimeout
    });
});    

function calculateTimeout(currElement, nextElement, opts, isForward) {
	// here we set even number slides to have a 2 second timeout;
	// by returning false for odd number slides we let those slides
	// inherit the default timeout value (4 sec)
	var index = opts.currSlide;
	return index % 2 ? 2000 : false;
}