Is it necessary to use the ul and li tags in flexslider?

1

I'm wondering if you can change ul and li for div? Because I find it more complicated to mess with ul and li than with divs !!

    
asked by anonymous 13.09.2015 / 00:00

1 answer

1

According to the flexslider documentation, simply change the parameter selector :

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

This becomes possible because flexslider uses classes in its child elements and not selection by element li .

    
13.09.2015 / 01:04