PageSourceSearch

https://velaclub.com/wp-content/themes/houzez/js/property-carousels.js?ver=3.4.9.1

js velaclub.com collected 2026-10-06 18:03:25 UTC 4,073 bytes, 121 lines download raw bytes

1jQuery(document).ready( function($){
2
3    $('.houzez-properties-carousel-js[id^="houzez-properties-carousel-"]').each(function(){
4        var $div = jQuery(this);
5        var token = $div.data('token');
6        var obj = window['houzez_prop_caoursel_' + token];
7
8        var slides_to_show = parseInt(obj.slides_to_show),
9            slides_to_scroll = parseInt(obj.slides_to_scroll),
10            navigation = parseBool(obj.navigation),
11            auto_play = parseBool(obj.slide_auto),
12            auto_play_speed = parseInt(obj.auto_speed),
13            slide_infinite = parseBool(obj.slide_infinite),
14            dots = parseBool( obj.slide_dots );
15
16        var houzez_rtl = houzez_vars.houzez_rtl;
17
18        if( houzez_rtl == 'yes' ) {
19            houzez_rtl = true;
20        } else {
21            houzez_rtl = false;
22        }
23
24        function parseBool(str) {
25            if( str == 'true' ) { return true; } else { return false; }
26        }
27
28        var houzezPropertyCarousel = $('#houzez-properties-carousel-'+token);
29
30        houzezPropertyCarousel.slick({
31            rtl: houzez_rtl,
32            lazyLoad: 'ondemand',
33            infinite: slide_infinite,
34            autoplay: auto_play,
35            autoplaySpeed: auto_play_speed,
36            speed: 300,
37            slidesToShow: slides_to_show,
38            slidesToScroll: slides_to_scroll,
39            arrows: navigation,
40            adaptiveHeight: true,
41            dots: dots,
42            appendArrows: '.houzez-carousel-arrows-'+token,
43            prevArrow: $('.slick-prev-js-'+token),
44            nextArrow: $('.slick-next-js-'+token),
45            responsive: [{
46                    breakpoint: 992,
47                    settings: {
48                        slidesToShow: 2,
49                        slidesToScroll: 2
50                    }
51                },
52                {
53                    breakpoint: 769,
54                    settings: {
55                        slidesToShow: 1,
56                        slidesToScroll: 1
57                    }
58                }
59            ]
60        });
61    });
62
63    $('.houzez-carousel-js[id^="houzez-carousel-"]').each(function(){
64        var $div = jQuery(this);
65        var token = $div.data('token');
66        var obj = window['houzez_caoursel_' + token];
67
68        var slides_to_show = parseInt(obj.slides_to_show),
69            slides_to_scroll = parseInt(obj.slides_to_scroll),
70            navigation = parseBool(obj.navigation),
71            auto_play = parseBool(obj.slide_auto),
72            auto_play_speed = parseInt(obj.auto_speed),
73            slide_infinite = parseBool(obj.slide_infinite),
74            dots = parseBool( obj.slide_dots );
75
76        var houzez_rtl = houzez_vars.houzez_rtl;
77
78        if( houzez_rtl == 'yes' ) {
79            houzez_rtl = true;
80        } else {
81            houzez_rtl = false;
82        }
83
84        function parseBool(str) {
85            if( str == 'true' ) { return true; } else { return false; }
86        }
87
88        var houzezCarousel = $('#houzez-carousel-'+token);
89
90        houzezCarousel.slick({
91            rtl: houzez_rtl,
92            lazyLoad: 'ondemand',
93            infinite: slide_infinite,
94            autoplay: auto_play,
95            autoplaySpeed: auto_play_speed,
96            speed: 300,
97            slidesToShow: slides_to_show,
98            slidesToScroll: slides_to_scroll,
99            arrows: navigation,
100            adaptiveHeight: true,
101            dots: dots,
102            appendArrows: '.houzez-carousel-arrows-'+token,
103            responsive: [{
104                    breakpoint: 992,
105                    settings: {
106                        slidesToShow: 2,
107                        slidesToScroll: 2
108                    }
109                },
110                {
111                    breakpoint: 769,
112                    settings: {
113                        slidesToShow: 1,
114                        slidesToScroll: 1
115                    }
116                }
117            ]
118        });
119    });
120
121});

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.