Customer Testimonials </b
jQuery(document).ready(function(){
var current_index = 0;
var testimonial_container = jQuery(‘#RRCurrentTestimonial’);
var testimonials_array = jQuery(‘#RRTestimonials’).find(‘blockquote’);
testimonial_container.html(testimonials_array[current_index].outerHTML)
current_index ++;
setInterval(function(){
testimonial_container.fadeOut().promise().done(function(){
testimonial_container.html(testimonials_array[current_index].outerHTML);
testimonial_container.fadeIn().promise().done(function(){
if(current_index == testimonials_array.length-1){
current_index = 0;
}else{
current_index++;
}
});
});
}, 6000);});