Thursday, March 26, 2009

jquery jcarousel fade efect



Change this file:
jquery.jcarousel.js

Add this lines: starting in line 431
next: function() {
this.stopAuto();
$('#mycarousel').fadeOut(1000);
if (this.tail != null && !this.inTail)
this.scrollTail(false);
else
this.scroll(((this.options.wrap == 'both' || this.options.wrap == 'last') && this.options.size != null && this.last == this.options.size) ? 1 : this.first + this.options.scroll);
$('#mycarousel').fadeIn(1000);
},