PageSourceSearch

https://tabasalujk.ee/wp-content/themes/sportix/js/fixed-menu.js?ver=1.0.0

js tabasalujk.ee collected 2026-10-02 23:38:27 UTC 960 bytes, 25 lines download raw bytes

1(function ($) {
2    "use strict";
3    var sportix_fixed_menu = function () {
4        var ww = document.body.clientWidth;
5        var sportix_nav = $('#header-menu-container');
6        var sportix_nav_pos = sportix_nav.offset().top - sportix_fixed_menu_vars.sportix_menu_top;
7        if (ww > 1170) {
8        $(window).scroll(function () {
9            var sportix_nav_fix = ($(this).scrollTop() > sportix_nav_pos) ? true : false;
10            sportix_nav.toggleClass("sportix-menu-fixed", sportix_nav_fix);
11            $('body').toggleClass("fix-body", sportix_nav_fix);
12        });
13        } else {
14            $(window).unbind('scroll');
15            sportix_nav.removeClass("sportix-menu-fixed");
16            $('body').removeClass("fix-body");
17        }     
18    };
19    $("document").ready(function () {
20        sportix_fixed_menu();      
21    });
22    $(window).on('resize orientationchange', function () {
23        sportix_fixed_menu();
24    });    
25})(jQuery);

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.