For version 0.3.x jCarousel, I went with this:
var carousel = $('.jcarousel').jcarousel({
list : '.items',
items : '.i',
wrap : 'both',
animation: {
duration: 0
}
}).jcarouselAutoscroll({
interval: 1000 * 5,
target: '+=1',
autostart: true
});
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');
});
some css to make it work:
.items {height: 450px;}
.i {position: absolute;}
source
share