PageSourceSearch

https://www.perchtoldsdorf.at/system/web/GetDocument.ashx?fileid=1973604&cts=1568641889

js perchtoldsdorf.at collected 2026-10-02 11:58:38 UTC 1,245 bytes, 40 lines download raw bytes

1// JavaScript Document
2$( document ).ready(function() {
3	
4	var menuPoints = document.getElementsByClassName('mm-menuitem');
5	
6	for(var i = 0; i < menuPoints.length; i++){	
7			menuPoints[i].addEventListener("click", openMenu);
8	}
9	
10	function closeAllMenus(){
11		var blocks = document.getElementsByClassName("mm-block");
12		for(var c = 0; c < blocks.length; c++){
13			blocks[c].style.setProperty('display', 'none', 'important');
14		}
15		
16		for(var m = 0; m < menuPoints.length; m++){
17			menuPoints[m].classList.remove("openMenu");
18		}
19	}
20	
21	function openMenu(event){
22		if(event.target.getElementsByClassName("mm-block")[0].style.display == "block"){
23			closeAllMenus();
24		}else{
25			closeAllMenus();
26			event.target.classList.add("openMenu");
27			var eventChild = null;
28			for (var e = 0; e < event.target.childNodes.length; e++) {
29				if (event.target.childNodes[e].className.indexOf('mm-block') >= 0) {
30					eventChild = event.target.childNodes[e];
31					eventChild.style.setProperty('display', 'block', 'important');
32				}   
33				/*if (event.target.childNodes[e].tagName == "A") {
34					eventChild = event.target.childNodes[e];
35					eventChild.style.setProperty('pointer-events', 'all');
36				}   */
37			}
38		}
39	}
40});

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.