PageSourceSearch

https://www.hochwacht-pfannenstiel.ch/Portals/_default/Skins/minis…/header/mobilemenu/mobilemenu.js?cdv=119

js hochwacht-pfannenstiel.ch collected 2026-09-26 12:41:54 UTC 2,283 bytes, 56 lines download raw bytes

1jQuery(document).ready(function ($) {
2
3
4    $(".mobilemenu-main").each(function () {
5        var e = $(this);
6
7        e.siblings(".mobile-menu-icon").on("click", function () {
8            e.addClass("active");
9            $("html").addClass("opne-mobilemenu");
10        })
11        e.find(".mobileclose").on("click", function () {
12            e.removeClass("active");
13            $("html").removeClass("opne-mobilemenu");
14        })
15         e.find(".gomenu .dir").prepend('<span class="arrows"><i></i></span>')
16
17        e.find(".gomenu > ul").before('<div class="menutitle">'+(e.data("title")?e.data("title"):"Menu")+'</div>')
18
19        e.find(".gomenu > ul >li.dir").each(function () {
20            var ul = $(this).children("ul").addClass("sub-menu");
21            e.find(".m-menu").append(ul);
22            ul.wrap('<div class="sub-menu-wrap"></div>');
23            ul.parent().prepend('<div class="menutitle">' + $(this).children("a").text() + '</div>')
24            $(this).children(".arrows").on("click", function () {
25                ul.parent().toggleClass("active").siblings().removeClass("active");
26                $(this).toggleClass("active");
27            })
28            if($(this).hasClass("current") && ul.find(".subcurrent").length){
29                $(this).children(".arrows").click();
30            }
31        })
32        e.find(".sub-menu-wrap .menutitle").on("click", function () {
33            $(this).parent().removeClass("active");
34            e.find(".gomenu .arrows").removeClass("active");
35        })
36        e.find(".sub-menu-wrap .arrows").on("click", function () {
37            $(this).toggleClass("active");
38            $(this).siblings("ul").slideToggle().parent().siblings().children("ul").slideUp().siblings().removeClass("active");
39        })
40        $("body").append(e);
41 
42        e.find(".subcurrent").parent("ul").siblings(".arrows").click();
43
44        e.find('a[href*="#"]:not(.mm-btn):not(.mm-next):not(.mm-title):not(.mm-subblocker)').on("click", function () {
45            if (jQuery(this.hash).length) {
46                $(".mobileclose").click();
47            }
48        })
49        e.find('.dir > a[href="javascript:;"]').on("click",function(event){
50            event.preventDefault();
51            $(this).siblings(".arrows").click();
52        })
53
54
55    })
56});

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.