$(document).ready(function(){ $(window).load(function() { $('.testimonials-flexslider').flexslider({ animation: "slide", controlsContainer: $(".custom-controls-container"), customDirectionNav: $(".custom-navigation a") }); }); }); $(document).ready(function(){ $(window).load(function() { $('.testimonials-flexslider').flexslider({ animation: "slide", controlsContainer: $(".custom-controls-container"), customDirectionNav: $(".custom-navigation a") }); }); });