flexslider

Flex Slider - How to add same controls for two sliders

故事扮演 提交于 2019-11-27 02:26:10
问题 I am using Flex slider for one project. I need to control two sliders on one page with same controls. One part is main slider that will show images, and the second one is text (in this case it will be taken from "the_excerpt" in WP ). Basically, this is the code I am using to call two slides on one page: $(window).load(function() { $('#main-slider').flexslider({ animation: 'slide', controlsContainer: '.flex-container' }); $('#secondary-slider').flexslider(); }); Now, I need to "connect" both