PageSourceSearch

https://www.cegema.de/_assets/edb4f517f670dc083919197ece387a78/Jav…/ce-logos-slider.js?1780571688

js cegema.de collected 2026-10-07 04:15:08 UTC 2,142 bytes, 84 lines download raw bytes

1$(document).ready(function () {
2  logosslider();
3
4  $(window).resize(function () {
5    logosslider();
6  });
7});
8
9function logosslider() {
10  $('.logos').each(function () {
11    var $this = $(this);
12    var slidesToShow = parseInt($this.attr('data-slides'), 10) || 4;
13
14    if ($this.length > 0) {
15      if ($this.hasClass('slick-initialized')) {
16        $this.slick('unslick');
17      }
18
19      $this.slick({
20        slidesToShow: slidesToShow,
21        slidesToScroll: 1,
22        autoplay: true,
23        autoplaySpeed: 0,
24        speed: 3000,
25        dots: false,
26        arrows: false,
27        centerMode: false,
28        infinite: true,
29        //variableWidth: true,
30        adaptiveHeight: true,
31        draggable: false,
32        cssEase: 'linear',
33        waitForAnimate: false,
34        pauseOnFocus: false,
35        pauseOnHover: true,
36        responsive: [
37          {
38            breakpoint: 992,
39            settings: {
40              slidesToShow: Math.max(1, slidesToShow - 1),
41              slidesToScroll: 1
42            }
43          },
44          {
45            breakpoint: 768,
46            settings: {
47              slidesToShow: 2,
48              slidesToScroll: 2,
49              adaptiveHeight: true
50            }
51          }
52        ]
53      });
54
55      // Unslick on larger screens if needed
56      if ($(window).width() > 992) {
57        if ($(".ce-partners .logos").hasClass('slick-initialized')) {
58          $(".ce-partners .logos").slick('unslick');
59        }
60      }
61    }
62  });
63}
64
65// (function ($) {
66//   $(document).ready(function () {
67//     $('.ce-partners .logo').on('click', function (e) {
68//       alert('ss');
69//       e.preventDefault();
70
71//       const relatedBrand = $(this).data('related-brand');
72//       const linkUrl = $(this).find('a').attr('href');
73
74//       $('#selectedBrandInput').val(relatedBrand);
75
76//       const form = $('#hiddenBrandFilterForm');
77//       const actionUrl = `${linkUrl}?tx_cegemaproducts_productlist%5Baction%5D=list&tx_cegemaproducts_productlist%5Bcontroller%5D=Product#tx-cegema-products`;
78
79//       form.attr('action', actionUrl);
80
81//       form.submit();
82//     });
83//   });
84// })(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.