Flexslider hide bullets below slide show

I use a very simple slider, and I have 2 questions:

  • I donโ€™t seem to find a property that hides the default controls under the slide show? I want to have only previous / next controls when it hangs.

  • If I cannot have option 1, will my own controls hide the default values?

Thanks in advance for your help!

the code:

<script type="text/javascript" charset="utf-8"> $(window).load(function() { $('.flexslider').flexslider(); }); </script> 

HTML:

 <div class="flexslider"> <ul class="slides"> <li> <img src="http://www.xx.com/1.jpg" alt="" /> </li> <li> <img src="http://www.xx.com/2.jpg" alt="" /> </li> <li> <img src="http://www.xx.com/3.jpg" alt="" /> </li> </ul> </div> 
+8
navigation flexslider
source share
3 answers

You should pass "controlNav: false" to flexslider ():

  $('.flexslider').flexslider({ controlNav: false }); 
+16
source share
 <script type="text/javascript" charset="utf-8"> $(window).load(function() { $('.flexslider').flexslider({ controlNav: false }); }); </script> 
+5
source share

flex-next:

 $('#article-slider').flexslider({ animation: "slide", controlNav: false, animationLoop: false, slideshow: false, sync: "#article-carousel", rtl: true, start: function(slider) { $('body').removeClass('loading'); } }); 
0
source share

All Articles