$("#slides1").slidesjs({ width: 700, height: 400, play: { active: false, effect: "fade", interval: 3000, auto: true, swap: true, pauseOnHover: false, restartDelay: 3000 }, callback: { complete: function(number) { var pluginInstance = $('#slides1').data('plugin_slidesjs'); setTimeout(function() { pluginInstance.play(true); }, pluginInstance.options.play.interval); } }, navigation: false, pagination: false, generatePagination: false }); });