0.3.x jCarousel バージョンでは、次のようにしました。
var carousel = $('.jcarousel').jcarousel({
list : '.items',
items : '.i',
wrap : 'both', // for good measure
animation: {
duration: 0 // swap slides immediately
}
}).jcarouselAutoscroll({
interval: 1000 * 5,
target: '+=1',
autostart: true
});
// fade hack
carousel.jcarousel('items').hide();
carousel.jcarousel('first').show();
carousel.on('jcarousel:visiblein', function(event, carousel) {
$(event.target).fadeIn();
});
carousel.on('jcarousel:visibleout', function(event, carousel) {
$(event.target).fadeOut();
carousel._trigger('animateend'); // the event doesn't fire when items are positioned absolutely (so autoscroll wouldn't work), fire manually
});
それを機能させるためのCSS:
.items {height: 450px;}
.i {position: absolute;}