optimus
optimus

Reputation: 31

carousel plugin and jquery library not working together

In my Project carousel plugin and jquery library not working together The link is given below

<script src="plugins/owl-carousel/owl.carousel.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>

I tried jq=jQuery.noConflict();.when i added jquery library the carousel goes blank.is there any solutions for this?

Upvotes: 0

Views: 84

Answers (1)

mahi
mahi

Reputation: 59

you write the min js above and then write owl carousel js like below

<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="crossorigin="anonymous"></script>
<script src="plugins/owl-carousel/owl.carousel.js"></script>

Upvotes: 1

Related Questions