owl carousel stop showing images

125
March 20, 2022, at 06:30 AM

Add owl carousel css and js:

<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css

Owl carousel stop showing images, but earlier it was working correctly. I haven't changed anything in code before.

Here is JavaScript and HTML code:

var carouselLite = function() {
        var owl5 = $(".owl-carousel5");
        owl5.owlCarousel({
            items: 1,
            margin: 0,
            center: false,
            responsiveClass: true,
            loop: true,
            nav: true,
            dots: true,
            autoplay: true,
            smartSpeed: 500,
            responsive:{
                0:{
                    nav:false
                },
                480: {
                    nav:false
                },
                768:{
                    nav:false
                },
                1000:{
                    nav:true,
                }
            },
            navText: [
                "<i class='icon-arrow-left owl-direction'></i>",
                "<i class='icon-arrow-right owl-direction'></i>"
            ]
        });
    };
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div class="owl-carousel5">
    <div class="item"><img src="images/draft_duo_1.png" alt="Draft Duo 1"></div>
    <div class="item"><img src="images/draft_duo_2.png" alt="Draft Duo 2"></div>
    <div class="item"><img src="images/draft_duo_3.png" alt="Draft Duo 3"></div>
    <div class="item"><img src="images/draft_duo_4.png" alt="Draft Duo 4"></div>
</div>

This is site photo

Rent Charter Buses Company
READ ALSO
Incremental BR tag counter isn&#180;t working, something is missing

Incremental BR tag counter isn´t working, something is missing

I have the following code, in order to add an incremental counter next to each BR tag, as a per line counter for a lyric song, but it isnĀ“t workingHelp is apreciated!

94
How to add a button to remove user

How to add a button to remove user

I currently have this code that displays users on a team and when you click on the name of a user that is on the list it passes the name that you click to a function which removes them from the teamInstead I would like a button to be next to the name and when you click the button...

91
How to scroll the view to the location of a specific createjs element inside a canvas

How to scroll the view to the location of a specific createjs element inside a canvas

We are implementing documents electronic signature using createJS libraryWe collect the user signature and save it then we load the document in a canvas and mark the signature place in each page

116
How to make textfield mandatory based on value of pathfield in aem

How to make textfield mandatory based on value of pathfield in aem

My question is in aem dialog if we have two fields one is pathfield and another one is textfiled, Now I want to make textfield mandatory if some value is entered in pathfield and also if no value is entered in pathfield then I dont want to make textfield...

114