PageSourceSearch

https://www.santillanadelmar.com/js/frontend/home.js

js santillanadelmar.com collected 2026-10-02 14:08:57 UTC 2,308 bytes, 85 lines download raw bytes

1/*
2$(document).ready(function() {
3    // Slider ofertas
4    if (('#ofertas').length > 0) {
5        // Using custom configuration
6        $('#ofertas .list').carouFredSel({
7            auto: false,
8            circular: true,
9            infinite: true,
10            items: 1,
11            direction: "bottom",
12            align: "center",
13            scroll: {
14                items: 1,
15                easing: "linear",
16                fx: "fade",
17                duration: 1000,
18                pauseOnHover: false
19            },
20            pagination: '#ofertas .pages'
21        });
22    }
23});
24*/
25$(document).ready(function($) {
26    var $w = $(window),
27        widthW = $w.width(),
28        $rslides = $(".rslides"),
29        rslidesPH = $rslides.parent().height(),
30        $slides = $(".rslides img"),
31        resizer = function(){
32            $slides.each(function(){
33                var $this = $(this),
34                    p = $this.data('prop'),
35                    w, h, x, y;
36                if (p) {
37                    if (widthW / p < rslidesPH) {
38                        h = rslidesPH;
39                        w = Math.ceil(p * h);
40                    } else {
41                        w = widthW;
42                        h = Math.ceil(w / p);
43                    }
44                    x
45                    $this.css({
46                        width: w,
47                        height: h,
48                        left: Math.floor((widthW - w)/2),
49                        top: Math.floor((rslidesPH - h)/2),
50                    });
51                }
52            })
53        },
54        rslidesH = 0;
55
56    $slides.each(function(i,o){
57        var $img = $(o);
58        $img.css({
59            minHeight: rslidesPH,
60            maxWidth: 'none',
61            float: 'none',
62            position: 'relative'
63        });
64        if (this.width && this.height) {
65            $img.data('prop', this.width/this.height);
66        } else {
67            $img.load(function(){
68                $img.data('prop', this.width/this.height);
69                resizer();
70            });
71        }
72    });
73
74    rslidesH = $rslides.responsiveSlides({
75        speed: 1000,
76        timeout: 5000,
77        pause: false
78    }).height();
79
80    $w.resize(function(){
81        widthW = $w.width();
82        resizer();
83    }).resize();
84
85});

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.