I want to execute a callback function ("showContent") after the slide transition, but I do not want this function to be executed when the jQuery loop is initialized (which it does). Any suggestions?
$(this).find('.content').cycle({ timeout: 0, startingSlide: 3, fx: 'scrollHorz', speed: 700, easing: 'easeOutQuint', pager: $(this).prev('.tabs'), pagerAnchorBuilder: function(idx, slide) { return '#portfolio li#'+thisID+' .tabs li:eq(' + idx + ')'; }, after: revealContent });
source share