PageSourceSearch

https://schulschrift.at/nav.js

js schulschrift.at collected 2026-10-05 03:41:05 UTC 745 bytes, 27 lines download raw bytes

1function myNavi() {
2  var x = document.getElementById("myNav");
3  var badge = document.getElementById("badge");
4  if (x.className === "navigation") {
5    x.className += " responsive";
6    if (badge && window.innerWidth <= 600) {
7      badge.style.top = "15em";
8    }
9  } else {
10    x.className = "navigation";
11    if (badge && window.innerWidth <= 600) {
12      badge.style.top = "";
13    }
14  }
15}
16
17window.addEventListener('resize', function() {
18  var x = document.getElementById("myNav");
19  var badge = document.getElementById("badge");
20  if (x && badge) {
21    if (x.className.includes("responsive") && window.innerWidth <= 600) {
22      badge.style.top = "15em";
23    } else if (window.innerWidth > 600) {
24      badge.style.top = "";
25    }
26  }
27});

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.