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 !!
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 !!
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
.