PageSourceSearch

https://heli-group.co.il/wp-content/themes/sogo-child/templates/header-1/header-1.js?ver=6abe745878a27

js heli-group.co.il collected 2026-10-01 14:56:51 UTC 2,109 bytes, 60 lines download raw bytes

1(function ($) {
2    'use strict';
3    $(document).ready(function () {
4        var body = $('body');
5        //show mobile menu on smaller than 1024 screen width
6        function handleWindowResize() {
7            var windowWidth = $(window).width();
8
9            if (windowWidth <= 991) {
10                $('.menu-desktop-manipulation').addClass('d-none');
11                $('.menu-mobile-manipulation').removeClass('d-none');
12                body.addClass('mobile-resized').removeClass('desktop');
13            }
14
15            if (windowWidth >= 991) {
16                $('.menu-desktop-manipulation').removeClass('d-none');
17                $('.menu-mobile-manipulation').addClass('d-none');
18                if(!body.hasClass('mobile','mobile-resized')) {
19                    body.removeClass('mobile-resized').addClass('desktop').removeClass('opened-menu');
20                }
21            }
22        }
23
24        // page height
25        function pagePadding() {
26            var headerHeight = $('.header-1').height() + 'px';
27            $('#page').css('padding-top', headerHeight);
28            $('.js-main-slider .section-slider').css('opacity','1');
29        }
30
31        //mobile-menu height
32        function mobileMenuHeight() {
33            var body = $('body');
34            if (body.hasClass('mobile') || body.hasClass('mobile-resized')) {
35                var headerHeight = $('.header-1').height() + 'px';
36                $('.js-mobile-menu').css({
37                    'top': headerHeight,
38                    'height': 'calc(100vh - ' + headerHeight + ')'
39                });
40            }
41        }
42
43        $(window).on('resize', function () {
44            handleWindowResize();
45            mobileMenuHeight();
46            pagePadding();
47        });
48
49        handleWindowResize();
50        mobileMenuHeight();
51        pagePadding();
52
53        // hamburger-menu
54        $('.stripes-menu').click(function () {
55            $('.primary-menu').toggleClass('primary-menu__hide');
56            $(this).toggleClass('close-menu');
57        });
58
59    })
60})(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.