PageSourceSearch

https://www.zahnarzt-loeffler-kronach.de/wp-content/themes/loeffler/js/scripts.js

js zahnarzt-loeffler-kronach.de collected 2026-10-08 06:17:30 UTC 3,452 bytes, 119 lines download raw bytes

1var cookieConsent = getCookie('cookieControlPrefs');
2
3function getCookie(name) {
4    var value = "; " + document.cookie;
5    var parts = value.split("; " + name + "=");
6    if (parts.length == 2) {
7        return parts.pop().split(";").shift();
8    }
9    else {
10        return "";
11    }
12}
13
14// if (/*cookieConsent.includes('Analytics')*/ false) {
15//     var _gaq = _gaq || [];
16//     _gaq.push(['_setAccount', 'UA-33303832-1']);
17//     _gaq.push(['_setDomainName', 'zahnarzt-loeffler-kronach.de']);
18//     _gaq.push(['_trackPageview']);
19//     _gaq.push(['_gat._anonymizeIp']);
20//
21//     (function () {
22//         var ga = document.createElement('script');
23//         ga.type = 'text/javascript';
24//         ga.async = true;
25//         ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
26//         var s = document.getElementsByTagName('script')[0];
27//         s.parentNode.insertBefore(ga, s);
28//     })();
29// }
30
31jQuery(function ($) {
32
33    $('#flexslider, .flexslider, .flexgallery').flexslider({
34        animation: "slide",
35        easing: "swing",
36        direction: "horizontal",
37        slideshowSpeed: 3000,
38        controlNav: false,
39        directionNav: true,
40        prevText: "weiter",
41        nextText: "zurück",
42        keyboard: false,
43        pauseOnHover: true,
44        //randomize: true
45        initDelay: 0
46    });
47
48
49    $("a[href$='.jpg'],a[href$='.png'],a[href$='.gif']").attr('rel', 'gallery').fancybox({
50        padding: 0,
51        margin: 50,
52        closeClick: true,
53        nextMethod: 'resizeIn',
54        prevMethod: 'resizeOut',
55        helpers: {
56            title: {
57                type: 'over'
58            },
59            overlay: {
60                css: {
61                    'background': 'rgba(160, 197, 59,.9)'
62                }
63            }
64        }
65    });
66
67    $('#times').headroom({
68        "offset": 20,
69        "tolerance": 5
70
71    });
72
73    $('.navbar-toggle').click(function () {
74        $('#times').removeClass('headroom--top').addClass('headroom--not-top')
75    })
76
77});
78
79//(function ($, F) {
80//    F.transitions.resizeIn = function() {
81//        var endPos   = $.extend({}, F.current.dim, F._getPosition(true));
82//        var startPos;
83//        
84//        startPos = F.tmpWrap.position();
85//        
86//        startPos.width  = F.tmpWrap.width();
87//        startPos.height = F.tmpWrap.height();
88//
89//        F.inner
90//            .css('overflow', 'hidden')
91//            .width( F.tmpInner.width() )
92//            .height( F.tmpInner.height() )
93//            .css('opacity', 0);
94//
95//        F.wrap.css(startPos).show();
96//
97//        F.tmpWrap.trigger('onReset').remove();
98//
99//        F.wrap.animate(endPos, {
100//            duration: F.current.nextSpeed,
101//            step    : F.transitions.step,
102//            complete: function() {
103//                setTimeout(function() {
104//                    F.inner.fadeTo("fast", 1, F._afterZoomIn);
105//                }, 1);
106//            }
107//        });
108//    };
109// 
110//    F.transitions.resizeOut = function() {
111//        if (F.tmpWrap) {
112//            F.tmpWrap.stop(true).trigger('onReset').remove();
113//        }
114//                       
115//        F.tmpWrap  = F.wrap.stop(true, true);
116//        F.tmpInner = F.inner.stop(true, true);
117//    };
118//
119//}(jQuery, jQuery.fancybox));

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.