I am using a very basic slider and I have 2 questions:
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.
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>
You should pass "controlNav: false" to flexslider():
$('.flexslider').flexslider({
controlNav: false
});
<script type="text/javascript" charset="utf-8">
$(window).load(function() {
$('.flexslider').flexslider({
controlNav: false
});
});
</script>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With