PageSourceSearch

https://terapiaspecjalna.pl/Frontend/js/canvas/menuResize.js?v=324

js terapiaspecjalna.pl collected 2026-09-28 13:57:25 UTC 917 bytes, 28 lines download raw bytes

1$(document).ready(function () {
2    if ($(window).width() > 768) {
3        var moreDropdown = $('#main .more');
4        var windowWidth = $(".header-row").width();
5        var menuWidth = 0;
6        var headerMiscWidth = 0;
7
8        $(".header-misc").each(function () {
9            headerMiscWidth += $(this).outerWidth(true);
10        });
11
12        $('#menu #main li:not(.more)').each(function () {
13            menuWidth += $(this).outerWidth(true);
14            if (menuWidth + headerMiscWidth + 80 > windowWidth) {
15                $(this).prependTo($('#main .more ul'));
16                moreDropdown.show();
17            }
18        })
19
20        $(moreDropdown).mouseover(function () {
21            $('.menu-container').find('.more-list').css('display', 'block');
22        });
23
24        $(moreDropdown).mouseleave(function () {
25           $('.menu-container').find('.more-list').css('display', 'none');
26        });
27    }
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.