PageSourceSearch

https://www.prutz.gv.at/system/web/GetDocument.ashx?fileid=1695907&cts=1670402988

js prutz.gv.at collected 2026-10-02 16:37:34 UTC 4,619 bytes, 124 lines download raw bytes

1jQuery(document).ready(function () {
2    
3    // Oeffnungszeiten
4    $('.openinghours ul.ris_oz_list').css('margin-bottom', '0').after('<p>oder nach tel. Vereinbarung</p>');
5
6    // News
7    // $('.news .newsrow img, .highlight .newsrow img').each(function () {
8        // if (window.innerWidth >= 640) {
9            // $(this).attr("src","https://www.prutz.tirol.gv.at/system/web/GetImage.ashx?fileid=1695905&mode=o")
10            // $(this).attr("src",$(this).attr("src")
11            // .replace("mode=T&width=150&height=500","mode=T&width=640&height=360&cropping=CENTER&quality=100"))
12            // .css({
13            //     'max-width': '640px',
14            //     'max-height': '360px'
15            // })
16        // // }
17        // else {
18        //     $(this).attr("src",$(this).attr("src")
19        //     .replace("mode=T&width=100&height=80&cropping=BYH","mode=T&width=200&height=200&cropping=CENTER&quality=100"))
20        //     .css({
21        //         'max-width': '640px',
22        //         'max-height': '360px'
23        //     });
24        // }
25    // });
26
27    // Container Elemente
28    $('.posting ul li a, .flexbox__info .flexbox__item').wrap('<div class="container" />');
29    
30    // Termine Button
31    $('.trash .boxTerminVorschauWeitereTermine').html('<a class="extlink" href="/system/web/kalender.aspx?menuonr=218852432&amp;sprache=1&amp;typids=218316561">weitere Termine</a>')
32    // Fehler Leaflet ID
33    // $('script#leafletScript').first().attr('id', 'leafletScript1');
34
35    // Sitemap
36    // $('.sitemap a').each(function (i, v) {
37    //     $(this).attr('href', $(this).attr('href').replace(/menuonr=\d+/, 'menuonr=225499694')).attr('target', '_blank');
38    // });
39
40    // Veranstaltungen Datumsblock
41    // $('.event .boxVeranstaltungsvorschauTitel').each(function(){
42    //     $(this).find('h2').replaceWith(function() {
43    //         return '<p>' + $(this).text() + '</p>';
44    //     });
45    //     $(this).find('p').css({
46    //         'margin': '0.25em 0 0.25em 0.35em',
47    //         'font-size': '1em',
48    //         'font-weight': '600',
49    //         'text-decoration':'underline'
50    //     });
51    // });
52
53    // Veranstaltungen Karussell
54    // $('.event .veranstaltungsrow').find('.clear').remove();
55
56
57// $('.slick-slideshow').slick({
58//     autoplay: true,
59//     autoplaySpeed: 7000,
60//     arrows: false,
61//     fade: true,
62//     slide: "img",
63//     pauseOnHover: false
64// })
65
66    $.fn.randomize = function (selector) {
67        var $elems = selector ? $(this).find(selector) : $(this).children(),
68            $parents = $elems.parent();
69
70        $parents.each(function () {
71            $(this).children(selector).sort(function (childA, childB) {
72                // * Prevent last slide from being reordered
73                if($(childB).index() !== $(this).children(selector).length - 1) {
74                    return Math.round(Math.random()) - 0.5;
75                }
76            }.bind(this)).detach().appendTo(this);
77        });
78        return this;
79    }
80
81    $('.flexbox__icon').randomize();
82
83    if ($('.flexbox__icon .flexbox__item').length > 6) {
84        $('.flexbox__icon').slick({
85            adaptiveHeight: true,
86            dots: false,
87            infinite: true,
88            speed: 600,
89            slidesToShow: 6,
90            slidesToScroll: 1,
91            draggable: false,
92            nextArrow: '<div class="nextItem"><span class="fi flaticon-chevron-right"></span></div>',
93            prevArrow: '<div class="prevItem"><span class="fi flaticon-chevron-left"></span></div>',
94            responsive: [{
95                breakpoint: 1024,
96                settings: {
97                    slidesToShow: 4,
98                    slidesToScroll: 1,
99                    infinite: true
100                }
101            }, {
102                breakpoint: 971,
103                settings: {
104                    slidesToShow: 3,
105                    slidesToScroll: 2
106                }
107            }, {
108                breakpoint: 640,
109                settings: {
110                    dots: false,
111                    slidesToShow: 1,
112                    slidesToScroll: 1
113                }
114            }]
115        })
116    }
117
118    // Highlight News
119    // highlight_heading = '<div class="titel"><h2>' + $('.highlight .newsrow h2').text() + '</h2><span class="titel_seperator"></span></div>';
120    // $('.highlight .newsrow h2').hide();
121    // $('.section__highlight .wrapper').prepend(highlight_heading);
122
123    // $('.slick-dots').appendTo('.event');
124});

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.