Hi I'm trying to add a timer to the jqgalscroll plugin, the plugin has the function
jqimg.click(function(){
var next = n.index + 1;
if((n.index +1) == el.totalChildres) {
el.pagination.find('[href$=0]').click();
}
else {
el.pagination.find('[href$=#'+ next+ ']').click();
}
});
this is used to move to the next image in the gallery, but im not sure how i would go about calling it from the setInterval function that i have setup in my own page. any help would be appreciated