PageSourceSearch

https://www.capsureanlier.be/wp-content/plugins/pivot/js/pivotshortcodecarousel.js

js capsureanlier.be collected 2026-10-10 00:32:24 UTC 799 bytes, 30 lines download raw bytes

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

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.