<div class="flex-container"><div class="flexslider"><ul class="slides">
<li><a href="/......"><img src="/.......jpg" /></a><p>...........</p></li>
<li><a href="/........"><img src="/.........jpg" /></a><p>..........</p></li>
</ul></div></div>
<script>$(document).ready(function () {$('.flexslider').flexslider({animation: 'fade',controlsContainer: '.flexslider'});});</script>
<div class="flex-container"><div class="flexslider">
<div class="flex-container"><div class="flexslider1">
$(document).ready(function () {
$('.flexslider').flexslider({animation: 'fade',controlsContainer: '.flexslider'});
$('.flexslider1').flexslider({animation: 'fade',controlsContainer: '.flexslider1'});
});
$('.slick-speaker').each(function() {
$(this).slick({
slidesToShow: 1,
dots: false,
arrows: false,
});
});
<section class="slider">
<div class="flexslider slider1">
<ul class="slides">
<li> </li>
<li> </li>
</ul>
</div>
<div id="carousel" class="flexslider carousel">
<ul class="slides">
<li> </li>
<li> </li>
</ul>
</div>
</section>
<section class="slider">
<div class="flexslider slider1">
<ul class="slides">
<li> </li>
<li> </li>
</ul>
</div>
<div id="carousel" class="flexslider carousel">
<ul class="slides">
<li> </li>
<li> </li>
</ul>
</div>
</section>
<script type="text/javascript">
$(window).load(function(){
$('.carousel').each(function() {
var slider1 = $(this).parent().children(".slider1");
$(this).flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
slideshow: false,
itemWidth: 210,
itemMargin: 5,
asNavFor: slider1
});
});
$('.slider1').each(function() {
var carousel = $(this).parent().children(".carousel");
$(this).flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
slideshow: false,
sync: carousel,
start: function(slider){
$('body').removeClass('loading');
}
});
});
});
</script>