PageSourceSearch

https://www.metaboprofile.com/wp-content/themes/metabo/js/jcarousel.responsive.js?ver=4.7.29

js metaboprofile.com collected 2026-10-07 15:12:01 UTC 1,797 bytes, 61 lines download raw bytes

1(function($) {
2    $(function() {
3        var jcarousel = $('.jcarousel');
4
5        jcarousel
6            .on('jcarousel:reload jcarousel:create', function () {
7                var carousel = $(this),
8                    width = carousel.innerWidth();
9
10                if (width >= 1200) {
11                    width = width / 5;
12                } else if (width >= 1040) {
13                    width = width / 4;
14                } else if (width >= 660) {
15                    width = width / 3;
16	            } else if (width >= 450) {
17                    width = width / 2;
18	            } else {
19	            width = width / 1;
20	            }
21
22                carousel.jcarousel('items').css('width', Math.ceil(width) + 'px');
23            })
24            .jcarousel({
25                wrap: 'circular'
26            })
27           .jcarouselAutoscroll({
28	            interval: 5000,
29	            target: '+=1',
30	            autostart: true
31	        }) 	
32           ;
33
34        $('.jcarousel-control-prev')
35            .jcarouselControl({
36                target: '-=1'
37            });
38
39        $('.jcarousel-control-next')
40            .jcarouselControl({
41                target: '+=1'
42            });
43
44        $('.jcarousel-pagination')
45            .on('jcarouselpagination:active', 'a', function() {
46                $(this).addClass('active');
47            })
48            .on('jcarouselpagination:inactive', 'a', function() {
49                $(this).removeClass('active');
50            })
51            .on('click', function(e) {
52                e.preventDefault();
53            })
54            .jcarouselPagination({
55                perPage: 1,
56                item: function(page) {
57                    return '<a href="#' + page + '">' + page + '</a>';
58                }
59            });
60    });
61})(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.