PageSourceSearch

https://topfsuchtdeckel.net/assets/js/script.js?v=YAwcxwPoZa7-IQmrLH5XcqPte8PtRUcGRlFiEmuJ7Vg

js topfsuchtdeckel.net collected 2026-10-06 05:34:09 UTC 12,252 bytes, 359 lines download raw bytes

1$(document).ready(function () {
2    if (!$('body').is('#home')) { // Check if the body element does not have the id "home"
3        //by gmi
4        if ($('#Firma_BrancheId')) {
5            $('#Firma_SparteId').on("change", function (event) {
6                let sparteId = parseInt($(event.target).val());
7                $.ajax({
8                    type: 'GET',
9                    url: '/api/Branche/AllBySparte/' + sparteId + "/Firma_BrancheId",
10                    contentType: 'html',
11                    data: null,
12                    success: function (response) {
13                        let element = $('#Firma_BrancheId');
14                        let parent = $(element).closest('div');
15                        $(parent).html(response);
16                        $('#Firma_BrancheId').focus();
17                    },
18                    error: function () {
19                        alert("fehler");
20                        //let content = "<li>Fehler beim Laden der Branchen</li >";
21                        //$('#divTempData').remove();
22                        //$('#firmaEditError >ul').html(content);
23                        //$('html, body').animate({ scrollTop: '0px' }, 100);
24                    }
25                });
26            });
27        }
28
29
30
31        // Mobile Menu
32        const menu = new MmenuLight(
33            document.querySelector( "#main-menu" ),
34            "(max-width: 991px)"
35        );
36        const navigator = menu.navigation({ title: 'Menü' });
37        const drawer = menu.offcanvas({ position: 'right' });
38
39        $('a[href="#main-menu"]').on('click', function(evnt) {
40            evnt.preventDefault();
41            drawer.open();
42        });
43
44
45        // Sticky Menu
46        $(document).ready(function (){
47            let menu = $('#main-menu').html();
48            $('#sticky-menu').html(menu);
49        });
50
51        const stickyMenu = $('#navigation-sticky');
52        const viewportHeight = $(window).height();
53
54        // Add an event listener to the window object to detect when the user scrolls
55        $(window).on('scroll', () => {
56            // Get the current scroll position of the page
57            const scrollPosition = $(window).scrollTop();
58
59            // Check if the user has scrolled past the height of the viewport
60            if (scrollPosition > viewportHeight) {
61                stickyMenu.addClass('visible');
62            } else {
63                stickyMenu.removeClass('visible');
64            }
65        });
66
67    }
68});
69
70// Counter
71const counterUp = window.counterUp.default
72
73const callback = entries => {
74    entries.forEach( entry => {
75        const el = entry.target
76        if ( entry.isIntersecting && ! el.classList.contains( 'is-visible' ) ) {
77            counterUp( el, {
78                duration: 1000,
79                delay: 16,
80            } )
81            el.classList.add( 'is-visible' )
82        }
83    } )
84}
85
86const IO = new IntersectionObserver( callback, { threshold: 1 } )
87
88const elements = document.querySelectorAll( '.counter' )
89elements.forEach(el => {
90    IO.observe(el);
91});
92
93// Carousels
94$(document).ready(function (){
95    $('.gallery01').slick({
96        lazyLoad: 'ondemand',
97        slidesToShow: 4,
98        slidesToScroll: 1,
99        autoplay: true,
100        infinite: true,
101        dots: false,
102        arrows: false,
103        autoplaySpeed: 3000,
104        responsive: [
105            {
106                breakpoint: 992,
107                settings: {
108                    slidesToShow: 3,
109                    dots: true,
110                }
111            },
112            {
113                breakpoint: 768,
114                settings: {
115                    slidesToShow: 2,
116                    dots: true,
117                }
118            },
119            {
120                breakpoint: 480,
121                settings: {
122                    slidesToShow: 1,
123                    dots: true,
124                }
125            }
126        ]
127    });
128    $('.testimonials').slick({
129        lazyLoad: 'ondemand',
130        slidesToShow: 3,
131        slidesToScroll: 1,
132        infinite: true,
133        prevArrow: '<div class="slick-prev"><svg xmlns="http://www.w3.org/2000/svg" width="20.547" height="35.437" viewB
133ox="0 0 20.547 35.437"><path class="svg-path-stroke" d="M-10510.3-536.992l16.3,16.3-16.3,16.3" transform="translate(-10491.172 -502.969) rotate(180)" fill="none" stroke="#ad000e" stroke-width="4"/></svg></div>',
134        nextArrow: '<div class="slick-next"><svg xmlns="http://www.w3.org/2000/svg" width="20.547" height="35.437" viewBox="0 0 20.547 35.437"><path class="svg-path-stroke" d="M-10510.3-536.992l16.3,16.3-16.3,16.3" transform="translate(10511.719 538.406)" fill="none" stroke="#ad000e" stroke-width="4"/></svg></div>',
135        responsive: [
136            {
137                breakpoint: 1200,
138                settings: {
139                    slidesToShow: 3
140                }
141            },
142            {
143                breakpoint: 992,
144                settings: {
145                    slidesToShow: 2
146                }
147            },
148            {
149                breakpoint: 768,
150                settings: {
151                    slidesToShow: 1,
152                    arrows: false,
153                    dots: true
154                }
155            }
156        ]
157    });
158});
159
160if (typeof (logoleisteAnzahl) != 'undefined') {
161    $('.logo-carousel').slick({
162        dots: false,
163        infinite: true,
164        prevArrow: '<div class="slick-prev"><svg xmlns="http://www.w3.org/2000/svg" width="20.547" height="35.437" viewBox="0 0 20.547 35.437"><path class="svg-path-stroke" d="M-10510.3-536.992l16.3,16.3-16.3,16.3" transform="translate(-10491.172 -502.969) rotate(180)" fill="none" stroke="#FA990E" stroke-width="4"/></svg></div>',
165        nextArrow: '<div class="slick-next"><svg xmlns="http://www.w3.org/2000/svg" width="20.547" height="35.437" viewBox="0 0 20.547 35.437"><path class="svg-path-stroke" d="M-10510.3-536.992l16.3,16.3-16.3,16.3" transform="translate(10511.719 538.406)" fill="none" stroke="#FA990E" stroke-width="4"/></svg></div>',
166        speed: 300,
167        slidesToShow: logoleisteAnzahl,
168        autoplay: true,
169        autoplaySpeed: 3000,
170        responsive: [
171            {
172                breakpoint: 1200,
173                settings: {
174                    slidesToShow: (logoleisteAnzahl - 1) > 0 ? logoleisteAnzahl - 1 : 1,
175                }
176            },
177            {
178                breakpoint: 992,
179                settings: {
180                    slidesToShow: (logoleisteAnzahl - 2) > 0 ? logoleisteAnzahl - 2 : 1,
181                }
182            },
183            {
184                breakpoint: 768,
185                settings: {
186                    slidesToShow: (logoleisteAnzahl - 3) > 0 ? logoleisteAnzahl - 3 : 1,
187                }
188            },
189            {
190                breakpoint: 576,
191                settings: {
192                    slidesToShow: (logoleisteAnzahl - 3) > 0 ? logoleisteAnzahl - 3 : 1,
193                }
194            }
195        ]
196    });
197}
198
199// Gallery Lightbox
200$(document).ready(function () {
201    $('.gallerylink').featherlightGallery();
202});
203
204
205// Gesprächtspartner Info
206const infobuttons = $(".table-partner .btn.info");
207infobuttons.each(function() {
208    $(this).on("click", function() {
209        $(this).toggleClass("active");
210        $(this).closest("tr").next(".info").toggleClass("visible");
211    });
212});
213const closeinfobutton = $(".table-partner tr.info .close-info");
214closeinfobutton.each(function() {
215    $(this).on("click", function() {
216        $(this).closest("tr").removeClass("visible");
217        $(this).closest("tr").prev("tr").find(".btn.info").removeClass("active");
218    });
219});
220
221new WOW().init();
222
223telinputInit = function (element) {
224    let result = intlTelInput(element, {
225        //onlyCountries: ["at", "de", "ch", "hu"],
226        initialCountry: "at",
227        countryOrder: ["at", "de", "hu", "it", "ch", "sl", "hr", "sk", "cz"],
228        countrySearch: false,
229        separateDialCode: true,
230        numberDisplayFormat: "E164",
231        allowedNumberTypes: ["MOBILE"],
232        countryNameLocale: "de",
233        placeholderNumberPolicy: "OFF"
234    });
235    $(element.parentElement).css("width", "100%");
236    return result;
237}
238
239
240// Maximale Zeichenanzahl für Registrierungs Textarea
241var maxLength = 400;
242$('textarea').keyup(function() {
243    var length = $(this).val().length;
244    var length = maxLength-length;
245    $('#chars').text(length);
246});
247
248//Weitere Personen hinzufügen
249$(document).ready(function () {
250
251    // Klick-Event-Handler für den Button
252    $('#weitere_personen_hinzufuegen').click(function (event) {
253        addPerson(event);
254    });
255});
256
257    // Funktion zum Hinzufügen eines neuen Eingabefelds
258    function addPerson(event) {
259        event.preventDefault();
260        let anzahlCounter = $('#personenCounter');
261        let anzahl = anzahlCounter.val()*1;
262        $.ajax({
263            url: "/api/Anmeldung/GetPartialAnmeldungPerson/" + anzahl,
264            contentType: "html",
265            method: "GET",
266            data: null,
267            success: function (data) {
268                $('#personen').append(data);   
269                anzahlCounter.val(anzahl + 1);
270            },
271            error: function (requestObject) {
272                alert(requestObject.responseText);
273            }
274        });
275    }
276
277// Validation
278
279$(document).ready(function() {
280    $('#registerForm').submit(function(event) {
281        var password = $('#password').val();
282        var confirmPassword = $('#password-confirm').val();
283        if (password != confirmPassword) {
284            $('.confirm-message').text('Die Passwörter stimmen nicht überein');
285            event.preventDefault();
286        }
287    });
288});
289
290
291
292validateImage = function (inputId, propertyName) {
293    let result = [];
294    let fi = document.getElementById(inputId);
295    if (fi.files.length !== 0) {
296        let file = fi.files.item(0);
297        let fExtension = file.name.substr(file.name.lastIndexOf(".") + 1).toLowerCase();
298        if (!(fExtension === "png" || fExtension === "jpg" || fExtension == "jpeg")) {
299            result.push(propertyName + " im falschen Format (nur png, jpg oder jpeg möglich)");
300        }
301        let fsize = file.size;
302        let fileMb = (fsize / 1024) / 1024;
303        if (fileMb > 5) {
304            result.push(propertyName + " zu gross (max. 5 MB)");
305        }
306    }
307    return result;
308}
309
310validatePdf = function (inputId, propertyName) {
311    let result = [];
312    let fi = document.getElementById(inputId);
313    if (fi.files.length !== 0) {
314        let file = fi.files.item(0);
315        let fExtension = file.name.substr(file.name.lastIndexOf(".") + 1).toLowerCase();
316        if (fExtension !== "pdf" ) {
317            result.push(propertyName + " im falschen Format (nur pdf möglich)");
318        }
319        let fsize = file.size;
320        let fileMb = (fsize / 1024) / 1024;
321        if (fileMb > 2) {
322            result.push(propertyName + " zu gross (max. 2 MB)");
323        }
324    }
325    return result;
326}
327
328activateImageValidation = function (inputId) {
329    let o = {
330        inputId: inputId,
331        validate: function (event) {
332            let fi = document.getElementById(inputId);
333            if (fi.files.length !== 0) {
334                let fsize = fi.files.item(0).size;
335                let fileMb = (fsize / 1024) / 1024;
336                if (fileMb > 1) {
337                    alert("Zu gross");
338                }
339            }
340        }
341    };
342    $('#' + inputId).on("input", o.validate.bind(o));
343}
344
345//KalenderModal
346$(document).ready((function () {
347    let showOnLoad = $('#KalenderShowOnLoad').val();
348    if (showOnLoad && showOnLoad == "True") {
349        let kalenderModal = document.getElementById("modalKalender");
350        if (kalenderModal) {
351            let modal = new bootstrap.Modal(kalenderModal);
352            $('#btnKalender').on("click", function () {
353                if (modal) { modal.hide(); }
354            });
355            modal.show();
356        }
357    }
358    })()
359);

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.