Sharing is caring

Here is where we like to share our knowledge with you

TECH

SOLUTIONS

THAT

IMPROVE

ENHANCE

HELP

BOOST

YOUR BUSINESS

var headersRotating = [];
jQuery(document ).ready(function() {
headersRotating = jQuery(‘.headersRotating .item’);
fade(headersRotating[1]);
});
function fade(thisIn){
headersRotating.filter(‘:visible’).fadeOut(500, function(){
var i = headersRotating.index(thisIn) + 1;
i = (i == headersRotating.length – 1)? 0 : i;
jQuery(thisIn).fadeIn(3000, function(){ fade(headersRotating[i]) });
});
}