I am trying to rotate images so added Owl Carousel (i believe the latest version), 2 files after downloading found under the assets folder
owl.carousel.js
owl.carousel.min.js
Opening the first file i see
/**
* Owl Carousel v2.3.4
* Copyright 2013-2018 David Deutsch
*/
/**
* Owl carousel
* @version 2.3.4
* @author Bartosz Wojciechowski
* @author David Deutsch
* @license The MIT License (MIT)
* @todo Lazy Load Icon
* @todo prevent animationend bubling
* @todo itemsScaleUp
* @todo Test Zepto
* @todo stagePadding calculate wrong active classes
*/
I have JQuery min file included. Opening the file i see /*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
I can see the images but get the error
jquery.min.js:2 Uncaught TypeError: a(...).find(...).andSelf is not a function
at c.<anonymous> (owl.carousel.min.js:2)
at HTMLDivElement.i (jquery.min.js:2)
at HTMLDivElement.dispatch (jquery.min.js:2)
at HTMLDivElement.y.handle (jquery.min.js:2)
at Object.trigger (jquery.min.js:2)
at HTMLDivElement.<anonymous> (jquery.min.js:2)
at Function.each (jquery.min.js:2)
at w.fn.init.each (jquery.min.js:2)
at w.fn.init.trigger (jquery.min.js:2)
at e.trigger (owl.carousel.min.js:1)
I tried to move the Owl Carousel declaration
<script type="text/javascript" src="/owl.carousel.min.js"></script>
to the header, below the script files and above them but nothing works? How could i resolve this issue?