PageSourceSearch

https://tsv-winterthur.ch/clubdesk/genwwwfiles/page.js?v=1636710936002

js tsv-winterthur.ch collected 2026-10-08 06:31:34 UTC 760 bytes, 28 lines download raw bytes

1$(window).scroll(function() {
2    var body = $("body");
3    if ($(this).scrollTop() > 100) {
4        body.addClass("cd-scroll");
5    } else {
6        body.removeClass("cd-scroll");
7    }
8});
9
10function toggleFullPageMenu(event) {
11    event.stopPropagation();
12    document.body.classList.toggle('cd-fullpagemenu-open');
13
14    var navIcons = document.getElementsByClassName("nav-icon");
15
16    Object.keys(navIcons).forEach(function (key) {
17        navIcons[key].classList.toggle('open');
18    });
19}
20
21$(document).click(function(event) {
22    if ($(document.body).hasClass('cd-fullpagemenu-open') && event.target.tagName.toLowerCase() === 'a') {
23        toggleFullPageMenu(event);
24    }
25});
26function topFunction() {
27    $('html, body').animate({scrollTop: 0}, 1200);
28}

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.