PageSourceSearch

https://www.chiemsee-schifffahrt.de/typo3temp/assets/compressed/sc…6301369a5e978915ec36855e2e8d1.js?1680164706

js chiemsee-schifffahrt.de collected 2026-09-24 21:58:55 UTC 4,928 bytes, 153 lines download raw bytes

1/**
2 * Created by Stephan on 19.03.2015.
3 */
4
5
6jQuery(document).ready(function() {
7
8    setMenu();
9
10    $(window).on('resize', function(e) {
11
12        setMenu();
13    });
14
15
16    $(function(){
17        $(window).scroll(function(){
18            if(getWidth() > 767) {
19                if ($(this).scrollTop() > 50){
20                    $('.nav-logo').addClass('small');
21                    $('.nav-banner').addClass('small');
22                } else{
23                    $('.nav-banner').removeClass('small');
24                    $('.nav-logo').removeClass('small');
25                }
26
27            }
28        });
29    });
30
31    $(function() {
32        $('a[rel*="lightbox"]').magnificPopup({
33            type: 'image',
34            tLoading: 'Lade Bild...',
35            tClose: 'Schließen (Esc)',
36            image: {
37                titleSrc: function(item) {
38                    var title = item.el.attr('title');
39                    var description = item.el.attr('alt');
40                    return ((title)?title:'') + ((description)?'<small>'+ description +'</small>':'');
41                }
42            },
43            gallery: {
44                enabled: true,
45                navigateByImgClick: true,
46                preload: [0,1],
47                tCounter: '%curr% von %total%',
48                tPrev: 'Zurück (Linke Pfeiltaste)',
49                tNext: 'Vorwärts (Rechte Pfeiltaste)'
50            }
51        });
52        $('a[rel*="iq1gallery"]').magnificPopup({
53            type: 'image',
54            tLoading: 'Lade Bild...',
55            tClose: 'Schließen (Esc)',
56            image: {
57                titleSrc: function(item) {
58                    var title = item.el.attr('title');
59                    var description = item.el.attr('alt');
60                    return ((title)?title:'') + ((description)?'<small>'+ description +'</small>':'');
61                }
62            },
63            gallery: {
64                enabled: true,
65                navigateByImgClick: true,
66                preload: [0,1],
67                tCounter: '%curr% von %total%',
68                tPrev: 'Zurück (Linke Pfeiltaste)',
69                tNext: 'Vorwärts (Rechte Pfeiltaste)'
70            }
71        });
72
73    });
74
75    $('input[id=powermail_field_inputpre]').val('9001');
76    $('input[id=powermail_field_inputpre]').val('9001').blur();
77
78});
79
80
81function setMenu()
82{
83    $('.navbar-fixed-top-new').css('max-height', getHeight()+"px");
84    $('.navbar-fixed-top-new .in').css('min-height', getHeight()+"px");
85
86    if(getWidth() > 991) {
87        $('.navbar-desktop .dropdown').off('hover');
88        $('.navbar-desktop .dropdown').hover(function() {
89            var oDropdownMenu = $(this).find('.dropdown-menu').first();
90            if (oDropdownMenu.css('display') == 'none') {
91                oDropdownMenu.stop(true, true).slideDown();
92            }
93        }, function() {
94            var oDropdownMenu = $(this).find('.dropdown-menu').first();
95            if (oDropdownMenu.css('display') == 'block') {
96                $(this).find('.dropdown-menu').stop(true, true).slideUp();
97            }
98        });
99    } else {
100        $('.navbar-mobile .dropdown-click').off('click');
101        $('.navbar-mobile .dropdown-click').click(function() {
102            if ($(this).parent().find('.dropdown-menu').length) {
103                var dmActive = $(this).parent().find('.dropdown-menu').first();
104                if(dmActive.css('display') == 'none') {
105                    //$('.navbar-mobile .dropdown-menu').stop(true, true).slideUp();
106                    $('.navbar-mobile .dropdown-menu.dpactive').slideUp();
107                    $('.navbar-mobile .dropdown-menu.dpactive').removeClass("dpactive");
108                    dmActive.slideDown();
109                    dmActive.addClass("dpactive");
110                } else {
111                    dmActive.slideUp();
112                    dmActive.removeClass("dpactive");
113                }
114                return false;
115            } else {
116                return true;
117            }
118        });
119    }
120
121}
122
123
124function bootstrap_equalizer(sSelektor) {
125
126    $(sSelektor).height("auto");
127    var maxHeight = -1;
128    $(sSelektor).each(function() {
129        maxHeight = maxHeight > $(this).height() ? maxHeight : $(this).height();
130    });
131
132    if (getWidth() > 767)
133    {
134        $(sSelektor).height(maxHeight);
135    }
136    else
137    {
138        $(sSelektor).height("auto");
139    }
140}
141
142function getWidth() {
143    var de = document.documentElement;
144    var myWidth = (de&&de.clientWidth) || document.body.clientWidth || window.innerWidth || self.innerWidth;
145    return myWidth;
146}
147
148function getHeight() {
149    var de = document.documentElement;
150    var myHeight = (de&&de.clientHeight) || document.body.clientHeight || window.innerHeight || self.innerHeight ;
151    return myHeight;
152}
153

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.