as CSS Here’s the code I used. Adjust the links to images and scripts and (obvious) link to the CSS of the framework and plugin in the section head page.
<body>
<div class="row">
<div class="small-10 small-centered columns">
<div class="carrossel">
<div><img src="img1.jpg" alt="dinossauro1"></div>
<div><img src="img2.jpg" alt="dinossauro2"></div>
<div><img src="img3.jpg" alt="dinossauro3"></div>
<div><img src="img4.jpg" alt="dinossauro4"></div>
</div>
</div>
</div> <!-- /.row -->
<script src="../js/vendor/jquery.js"></script>
<script src="../js/vendor/fastclick.js"></script>
<script src="../js/foundation.min.js"></script>
<script>$(document).foundation();</script>
<script type="text/javascript" src="slick-master/slick/slick.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.carrossel').slick({dots: true, autoplay: true, fade:true});
});
</script>
</body>
</html>
And what’s the problem with them?
– Caputo
2 problems, in some cases it does not fade effect, it "flashes" abruptly. And in other cases, when the tab of the site is not the main or when it stands long, it "accumulates" Ades and displays everything at once, as turning a strobe effect.
– dsantoro