[jQuery] jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...
when i implement jCarousel with options "wrap : 'both', vertical :
true, scroll : 1" and call prev method this alert apear.
I debg the script and discover that the "back" var in the "pos" method
is not set to true... so. to make t work i change the script from:
if (d == 0) {
alert('jCarousel: No width/height set for items. This will cause an
infinite loop. Aborting...');
return 0;
}
to:
if (d == 0) {
if (v == 0) {
alert('jCarousel: No width/height set for items. This will cause an
infinite loop. Aborting...');
return 0;
} else {
if (v < clipping) v = clipping;
break;
}
}