PageSourceSearch

https://springgreen-hippopotamus-208750.hostingersite.com/wp-conte…/assets/js/homepage/slider.js?ver=6.8.10

js springgreen-hippopotamus-208750.hostingersite.com collected 2026-10-03 04:55:53 UTC 2,589 bytes, 73 lines download raw bytes

1jQuery(function($) {
2    // Home Slider
3    var $owlHome = $('.home-slider');
4    $owlHome.owlCarousel({
5      rtl: $("html").attr("dir") == 'rtl' ? true : false,
6      items: 1,
7      autoplay: true,
8      autoplayTimeout: slider_settings.animationSpeed,
9      margin: 0,
10      loop: true,
11      dots: $(".slider-section").is(".owl-dot-1") ? true : false,
12	  dotsData: true,
13	  dotsEach: 5,
14      nav: true,
15	  navText: $(".slider-section").is(".owl-nav-2") ? ['<span class="icon"></span>', '<span class="icon"></span>'] : ['<i class="fas fa-angle-left"></i>', '<i class="fas fa-angle-right"></i>'],
16      singleItem: true,
17      transitionStyle: "fade",
18      touchDrag: true,
19      mouseDrag: true,
20	  onInitialized: function (event) {
21        var itemsCount = event.item.count; // Total number of items
22        var dotsContainer = $('.owl-dot-1 .owl-dots'); // Dots container
23        
24        // Clear current dots
25        dotsContainer.empty();
26        
27        // Generate and append numbered dots
28        for (var i = 0; i < itemsCount; i++) {
29            dotsContainer.append('<button role="button" class="owl-dot">' + (i + 1) + '</button>');
30        }
31        
32        // Optionally highlight the active dot
33        dotsContainer.on('click', '.owl-dot', function () {
34            var index = $(this).index();
35            $owlHome.trigger('to.owl.carousel', index);
36        });
37    },
38      responsive: {
39        0: {
40          nav: false
41        },
42        768: {
43          nav: false
44        },
45        992: {
46          nav: true
47        }
48      }
49    });
50    $owlHome.owlCarousel();
51    $owlHome.on('translate.owl.carousel', function (event) {
52        var data_anim = $("[data-animation]");
53        data_anim.each(function() {
54            var anim_name = $(this).data('animation');
55            $(this).removeClass('animated ' + anim_name).css('opacity', '0');
56        });
57    });
58    $("[data-delay]").each(function() {
59        var anim_del = $(this).data('delay');
60        $(this).css('animation-delay', anim_del);
61    });
62    $("[data-duration]").each(function() {
63        var anim_dur = $(this).data('duration');
64        $(this).css('animation-duration', anim_dur);
65    });
66    $owlHome.on('translated.owl.carousel', function() {
67        var data_anim = $owlHome.find('.owl-item.active').find("[data-animation]");
68        data_anim.each(function() {
69            var anim_name = $(this).data('animation');
70            $(this).addClass('animated ' + anim_name).css('opacity', '1');
71        });
72    });
73});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.