PageSourceSearch

https://hohenburg.de/rd/108002/javascripts/stickymenu.js

js hohenburg.de collected 2026-10-02 18:01:57 UTC 454 bytes, 18 lines download raw bytes

1jQuery(document).ready(function($) {
2
3    function sticky()
4    {
5        var window_top=$(window).scrollTop();
6        var top_position=$('body').offset().top;
7        var element_to_stick=$('.header');
8        
9        if (window_top > top_position) {
10            element_to_stick.addClass('sticky-header');
11        } else {
12            element_to_stick.removeClass('sticky-header');
13        }
14    }
15    $(window).scroll(sticky);
16    sticky();
17    
18});

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.