Flexslider hide bullets below slideshow

user2460054 picture user2460054 · Jun 6, 2013 · Viewed 28k times · Source

I am using a very basic slider and I have 2 questions:

  1. I do not seem to find a property that hides the default button controls below the slideshow? I wish to have only the prev/next controls on hovering.

  2. If I cannot have option 1, will making my own controls hide the defaults?

Thanks in advance for any help!

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>

Answer

Svilen picture Svilen · Aug 14, 2013

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

  $('.flexslider').flexslider({
    controlNav: false
  });