I am working on a website where I'd like to use jQuery 2.2.4 and jQuery 3.1.1. I want to use version 2.2.4 for my owl carousel 2, but I need 3.1.1 in order to make my standard fixed navbar from Bootstrap 4 Alpha work.
However, when I both add the following lines..
<script type="text/javascript" src="/js/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="/js/jquery-3.1.1.min.js"></script>
.. only the menu works. This is my owl-carousel 2 initializer:
$('.owl-carousel').owlCarousel({
loop: true,
margin: 30,
nav: false,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3,
loop: false,
dots: true
}
}
})
I have searched other topics and came across the noConflict(); option but I don't know how to implement this.
So, I need v2.2.4 for my carousel and I need v3.1.1 for a fixed navbar (without initializer). How would I make this possible without encountering problems?