PageSourceSearch

https://th-deg.de/cache-buster-1756303285/static/js/blog.js

js th-deg.de collected 2026-10-02 03:36:13 UTC 873 bytes, 29 lines download raw bytes

1$(document).ready(function() {
2    $('#blogCarousel').carousel('pause');
3    $("#blogCarousel").on("slide.bs.carousel", function(e) {
4        var $e = $(e.relatedTarget);
5        var idx = $e.index();
6        var itemsPerSlide = 3;
7        var totalItems = $(".carousel-item").length;
8
9        if (idx >= totalItems - (itemsPerSlide - 1)) {
10            var it = itemsPerSlide - (totalItems - idx);
11            for (var i = 0; i < it; i++) {
12                // append slides to end
13                if (e.direction == "left") {
14                    $(".carousel-item")
15                        .eq(i)
16                        .appendTo(".carousel-inner");
17                } else {
18                    $(".carousel-item")
19                        .eq(0)
20                        .appendTo($(this).find(".carousel-inner"));
21                }
22            }
23        }
24    });
25});
26
27
28
29

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.