PageSourceSearch

https://bakery-pastry.gr/wp-content/plugins/post-carousel-for-dv-b…//assets/js/fh-carousel.js?ver=1790945984

js bakery-pastry.gr collected 2026-10-03 01:23:29 UTC 2,407 bytes, 57 lines download raw bytes

1(function($) {
2    $(document).ready(function() {
3        $('.et_pb_fh_post_carousels').each(function() {
4            var items = $(this).attr('data-items');
5            var itemsTablet = $(this).attr('data-items-tablet');
6            var itemsPhone = $(this).attr('data-items-phone');
7            var loopStatus = $(this).attr('data-loop');
8            var margin = $(this).attr('data-margin');
9            var autoplay = $(this).attr('data-autoplay') == "on" ? true : false;
10            var hoverpause = $(this).attr('data-hoverpause') == "on" ? true : false;
11            var mousedrag = $(this).attr('data-mouse-drag') == "on" ? true : false;
12            var touchdrag = $(this).attr('data-touch-drag') == "on" ? true : false;
13            var autowidth = $(this).attr('data-auto-width') == "on" ? true : false;
14            var rewind = $(this).attr('data-rewind') == "on" ? true : false;
15            var loop = loopStatus == 'on' ? true : false;
16            var slideby = $(this).attr('data-slide-by');
17            var dotseach = $(this).attr('data-dots-each') == "on" ? true : false;
18            var lazyload = $(this).attr('data-lazy-load') == "on" ? true : false;
19            if(typeof itemsTablet == "undefined" || itemsTablet == '') {
20                itemsTablet = 2;
21            }
22            if(typeof itemsPhone == "undefined" || itemsPhone == '') {
23                itemsPhone = 1;
24            }
25            $(this).owlCarousel({
26                autoplay: autoplay,
27                autoplayHoverPause: hoverpause,
28                items: items,
29                loop: loop,
30                margin: parseInt(margin),
31                nav: true,
32                dots: true,
33                navText: ['',''],
34                mouseDrag: mousedrag, 
35                touchDrag: touchdrag,
36                autoWidth: autowidth,
37                rewind: rewind,
38                slideBy: slideby,
39                dotsEach: dotseach,
40                lazyLoad: lazyload,
41                responsive : {
42                    980: {
43                        items: items,
44                    },
45                    767: {
46                        items: itemsTablet,
47                        nav: true,
48                        dots: true,
49                    },
50                    0 : {
51                        items: itemsPhone,
52                    }
53                }
54            });
55        });
56    });
57})(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.