PageSourceSearch

https://www.zahnarzt-hofheim-marxheim.de/typo3conf/ext/cina/Resour…/JavaScript/Src/function.js?1729458062

js zahnarzt-hofheim-marxheim.de collected 2026-10-07 05:16:27 UTC 9,485 bytes, 312 lines download raw bytes

1$(document).ready(function () {
2
3  // ------------------------------------ 
4    $('img.image-embed-item').removeAttr('width').removeAttr('height');
5    $('.card .collapse').collapse({
6        show: false
7    });
8    //---------------------------------------
9    $(".scrolla").click(function () {
10        $("html, body").animate({
11                scrollTop: $("#page-content").offset().top - 550,
12            },
13            "slow"
14        );
15        return false;
16    });
17
18
19    // Init ScrollMagic
20    // var controller = new ScrollMagic.Controller();
21    // // New Way with loop through each .project element
22    // $(".greenRow, .grayRow").each(function () {
23    //     // build a scene 1
24    //     var ourScene = new ScrollMagic.Scene({
25    //             //triggerElement: '#project01 h2',
26    //             triggerElement: this,
27    //             triggerHook: 0.9,
28    //             offset: 100, // reverse:false
29    //         })
30    //         .setClassToggle(this, "fade-in")
31    //         .addTo(controller);
32    // });
33
34
35    // $(function ($) {
36    //     $("ul.navbar-nav li.dropdown").hover(
37    //       function () {
38    //         $(this)
39    //           .find(".dropdown-menu")
40    //           .first()
41    //           .stop(true, true)
42    //           .delay(250)
43    //           .slideDown();
44    //       },
45    //       function () {
46    //         $(this)
47    //           .find(".dropdown-menu")
48    //           .first()
49    //           .stop(true, true)
50    //           .delay(100)
51    //           .slideUp();
52    //       }
53    //     );
54    //     document.addEventListener("touchstart", function () {}, true);
55    //   });
56    if ($(window).width() > 1100) {
57        $(function () {
58            $(".termina-h").hover(
59                function () {
60                    $(this).find(".termina").stop(true, true).slideDown("fast");
61                    $(".termina-h a").toggleClass("lActive");
62                },
63                function () {
64                    $(this).find(".termina").stop(true, true).slideUp("fast");
65                    $(".termina-h a").toggleClass("lActive");
66                }
67            );
68        });
69    }
70
71    $(".carousel-inner").each(function () {
72        if ($(this).children(".item").length === 1) {
73            $(this)
74                .siblings(".carousel-indicators")
75                .removeClass("hidden")
76                .addClass("one-indi");
77        }
78    });
79    //    $(".scroll-that div").each(function () {
80    //        $(this).append('<a id="' + $(this).attr("class") + '" />');
81    //    });
82    //    var target = $(document.location.hash);
83    //    if ($(window).width() > 1100) {
84    //        if (target.length) {
85    //            $("html,body").animate({
86    //                    scrollTop: target.offset().top - 160,
87    //                },
88    //                1500
89    //            );
90    //        }
91    //    } else {
92    //        if (target.length) {
93    //            $("html,body").animate({
94    //                    scrollTop: target.offset().top - 70,
95    //                },
96    //                1500
97    //            );
98    //        }
99    //    }
100});
101// Init ScrollMagic
102var controller = new ScrollMagic.Controller();
103// New Way with loop through each .project element
104$(".panel-group .panel").each(function () {
105    // build a scene 1
106    var ourScene = new ScrollMagic.Scene({
107            //triggerElement: '#project01 h2',
108            triggerElement: this,
109            triggerHook: 0.9,
110            offset: 100, // reverse:false
111        })
112        .setClassToggle(this, "fade-in")
113        .addTo(controller);
114});
115
116document.addEventListener("DOMContentLoaded", function (event) {
117    $(".loader").hide();
118
119});
120/* Open */
121function openNav() {
122    document.getElementById("myNav").style.height = "100%";
123}
124
125/* Close */
126function closeNav() {
127    document.getElementById("myNav").style.height = "0%";
128}
129$(document).ready(function () {
130    $("#video_modals").appendTo(".footer");
131
132
133    $("#owl-18663.owl-carousel").owlCarousel({
134        loop: false,
135        margin: 15,
136        nav: true,
137        dots: false,
138        autoplay: true,
139        autoplayHoverPause: true,
140        autoplaySpeed: 1000,
141        fluidSpeed: 1000,
142        navSpeed: 1000,
143        dotsSpeed: 1000,
144        dragEndSpeed: 1000,
145        navText: [
146            "<img src='/fileadmin/user_upload/cina/arrow-right.svg' alt=''>",
147            "<img src='/fileadmin/user_upload/cina/arrow-left.svg' alt=''>",
148          ],
149        responsive: {
150            0: {
151                items: 1,
152            },
153            600: {
154                items: 2,
155            },
156            1000: {
157                items:2,
158            },
159        },
160    });
161
162    $("#owl-34193.owl-carousel").owlCarousel({
163      loop: false,
164      margin: 15,
165      nav: true,
166      dots: false,
167      autoplay: true,
168      autoplayHoverPause: true,
169      autoplaySpeed: 1000,
170      fluidSpeed: 1000,
171      navSpeed: 1000,
172      dotsSpeed: 1000,
173      dragEndSpeed: 1000,
174      navText: [
175        "<img src='/fileadmin/user_upload/cina/cina_arrowincircle_left.svg' alt=''>",
176          "<img src='/fileadmin/user_upload/cina/cina_arrowincircle_right.svg' alt=''>",
177        ],
178      responsive: {
179          0: {
180              items: 1,
181          },
182          600: {
183              items: 2,
184          },
185          1000: {
186              items:3,
187          },
188      },
189  });
190
191    $("body").on("hidden.bs.modal", ".modal", function () {
192        $("video").trigger("pause");
193    });
194    $(".arrowIcon img").click(function () {
195        $("html, body").animate({
196                scrollTop: $("." + $(this).attr("alt")).offset().top - 80,
197            },
198            500,
199            null
200        );
201    });
202
203    // GENERAL SETTING
204    $(".accordion-toggle").click(function () {
205        $(".panel-collapse").collapse("hide");
206    });
207    $(".panel").on("show.bs.collapse hide.bs.collapse", function (e) {
208        if (e.type == "show") {
209            $(this).addClass("panelActive");
210        } else {
211            $(this).removeClass("panelActive");
212        }
213    });
214
215    // ---------------------------------------
216    // var hash = window.location.hash;
217    // var anchor = $('a[href$="' + hash + '"]');
218    // if ($(window).width() > 1100) {
219    //     if (anchor.length > 0) {
220    //         anchor.click();
221    //         $('html,body').animate({
222    //             scrollTop: anchor.offset().top - 170
223    //         }, 1500);
224    //     }
225    // } else {
226    //     if (anchor.length > 0) {
227    //         anchor.click();
228    //         $('html,body').animate({
229    //             scrollTop: anchor.offset().top - 225
230    //         }, 1500);
231    //     }
232    // };
233    // $('.scroll-that').each(function () {
234    //     $(this).append('<a id="' + $(this).attr('class') + '" />');
235    // });
236    // direct browser to top right away
237    if (window.location.hash)
238        scroll(0, 0);
239    // takes care of some browsers issue
240    setTimeout(function () {
241        scroll(0, 0);
242    }, 1);
243    /*if you use the id of the div no need for the replace*/
244    var target = $(document.location.hash.replace("#", "."));
245    if (target.length) {
246        $('html,body').animate({
247            scrollTop: target.offset().top - 120
248        }, 1000); /*animate in 1sec, you may change this as you like*/
249    }
250    // ---------------------------------------
251    $('.tit1').click(function() {
252        $('html, body').animate({
253          scrollTop: $(".sec1").offset().top - 100,
254        }, 1000)
255      });
256      $('.tit2').click(function() {
257        $('html, body').animate({
258          scrollTop: $(".sec2").offset().top - 100,
259        }, 1000)
260      });
261      $('.tit3').click(function() {
262        $('html, body').animate({
263          scrollTop: $(".sec3").offset().top - 100,
264        }, 1000)
265      });
266      $('.tit4').click(function() {
267        $('html, body').animate({
268          scrollTop: $(".sec4").offset().top - 100,
269        }, 1000)
270      });
271      $('.tit5').click(function() {
272        $('html, body').animate({
273          scrollTop: $(".sec5").offset().top - 100,
274        }, 1000)
275      });
276      $('.tit6').click(function() {
277        $('html, body').animate({
278          scrollTop: $(".sec6").offset().top - 100,
279        }, 1000)
280      });
281      $('.tit7').click(function() {
282        $('html, body').animate({
283          scrollTop: $(".sec7").offset().top - 100,
284        }, 1000)
285      });
286      $('.tit8').click(function() {
287        $('html, body').animate({
288          scrollTop: $(".sec8").offset().top - 100,
289        }, 1000)
290      });
291      $('.tit9').click(function() {
292        $('html, body').animate({
293          scrollTop: $(".sec9").offset().top - 100,
294        }, 1000)
295      });
296      $('.tit10').click(function() {
297        $('html, body').animate({
298          scrollTop: $(".sec10").offset().top - 100,
299        }, 1000)
300      });
301      $('.tit11').click(function() {
302        $('html, body').animate({
303          scrollTop: $(".sec11").offset().top - 100,
304        }, 1000)
305      });
306      $('.tit12').click(function() {
307        $('html, body').animate({
308          scrollTop: $(".sec12").offset().top - 100,
309        }, 1000)
310      });
311  
312});

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.