Hi i’m wondering how to run a function repetedly for an infinite ammount of time, basically i’m trying to achieve “autoplay” with this function.
$.fn.play = function(){
var options = $.extend($.fn.qslider.defaultsSetting,$.fn.qslider.options);
$('.qS-scene').each(function(index){
$('img', this).delay(options.sceneDuration*index+options.scenePause).each(function(index){
$(this).delay(options.itemDelay*index).each($.fn.moveIn)
})
})
}
I could make a separate function if it helps, if you want to see it in action (i’m not good @ describing) go here: