PageSourceSearch

https://www.stadthalle.com/_component/collection_content/navigation/navigation.js?version=2026-09-24_15:30:58

js stadthalle.com collected 2026-09-24 21:49:30 UTC 1,168 bytes, 36 lines download raw bytes

1function initNavOpener() {
2    
3    
4    
5    $(".nav__element_opener:not(.initialized)").each(function(){
6        $(this).addClass("initialized");
7        $(this).on("click", function(event){
8            event.preventDefault();
9			$('.nav__sub-list[data-navigation-id="'+$(this).attr("data-navigation-id")+'"]').toggleClass("open").slideToggle();
10			$(this).toggleClass("open");
11            $(this).parents('li').toggleClass("open");
12        });
13    });
14    
15    
16}
17
18$(function() {
19    
20    addHtmlChanged('initNavOpener');
21    
22    //console.log("hier");
23    $('#nav .nav__element.active').each(function(){
24        //if($(this).hasClass("active")){
25            //$(this).slideToggle();
26            //console.log($(this));
27        //console.log($(this).find('.nav__sub-list'));
28        if($(this).find('.nav__sub-list').length){
29            $(this).addClass('open');
30           $(this).find('.nav__sub-list').slideDown();
31            $(this).find('.nav__element_opener').addClass('open');
32        }
33            //$('.nav__sub-list[data-navigation-id="'+$(this).attr("data-navigation-id")+'"]').slideToggle();
34        //}
35    });
36});

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.