function itemLoadCallbackFunction(carousel, state) { for (var i = carousel.first; i <= carousel.last; i++) { if (i==5) { carousel.stopAuto(); } } } jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({ vertical: true, scroll: 1, auto: 3, // wrap: "circular", itemLoadCallback: itemLoadCallbackFunction }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)