PageSourceSearch

https://www.sicherheit.sport/app/themes/sis2020/js/sticky-header.js

js sicherheit.sport collected 2026-10-04 03:53:40 UTC 738 bytes, 26 lines download raw bytes

1jQuery(document).ready(function($){
2    var stickyNavTop = jQuery('#header-wrapper').offset().top;
3
4    var stickyNav = function(){
5        var scrollTop = jQuery(window).scrollTop();
6
7        if (scrollTop > stickyNavTop) {
8            jQuery('#header-wrapper').addClass('sticky');
9            var headerheight = jQuery("#header-wrapper").height();
10            jQuery("#header-wrapper").addClass('sticky');
11            jQuery("#stickyPadder").css({'display':'block', 'height':headerheight});
12        } else {
13            jQuery('#header-wrapper').removeClass('sticky');
14            jQuery("#stickyPadder").css({'display':'none'});
15        }
16    };
17
18    stickyNav();
19
20    $(window).scroll(function() {
21        stickyNav();
22    });
23});
24
25
26

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.