PageSourceSearch

https://radiokrizevci.hr/wp-content/themes/Kzportal/assets/js/home-swiper.js?ver=1770445347

js radiokrizevci.hr collected 2026-10-08 18:32:42 UTC 917 bytes, 31 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2
3    // Helper function to init a swiper
4    function initSwiper(selector, prevBtn, nextBtn) {
5        const el = document.querySelector(selector);
6        if (!el) return;
7
8        return new Swiper(selector, {
9            slidesPerView: 4,
10            slidesPerGroup: 1,
11            spaceBetween: 20,
12            loop: false,
13            navigation: {
14                nextEl: nextBtn,
15                prevEl: prevBtn,
16            },
17            watchOverflow: true,
18            breakpoints: {
19                1280: { slidesPerView: 4 },
20                1024: { slidesPerView: 3 },
21                768: { slidesPerView: 2 },
22                1: { slidesPerView: 1 },
23            },
24        });
25    }
26
27    // Initialize Swipers
28    initSwiper(".mySwiper", ".my-prev-btn", ".my-next-btn");
29    initSwiper(".mySwiper1", ".my-prev-btn1", ".my-next-btn1");
30
31});

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.