PageSourceSearch

https://www.glebar.com/wp-content/themes/hello-child/assets/js/script.js?ver=1790685803

js glebar.com collected 2026-09-29 13:10:15 UTC 3,422 bytes, 94 lines download raw bytes

1jQuery(document).ready(function($) {
2	$('select option:first-child').attr('disabled', 'disabled').attr('selected', 'selected').attr('hidden', 'hidden');
3	$('.site-logo-blue').hide();
4	var $header_fixed = $('.main-header');
5    if(pageYOffset > 50) {
6        $header_fixed.addClass('scroll');
7		$('.site-logo').hide();
8		$('.site-logo-blue').show();
9		$('.megamenu-style').addClass('scroll2');
10    } else {
11        $header_fixed.removeClass('scroll');
12		$('.site-logo').show();
13		$('.site-logo-blue').hide();
14		$('.megamenu-style').removeClass('scroll2');
15    }
16
17    $(window).scroll(function () {
18        if(pageYOffset > 50) {
19            $header_fixed.addClass('scroll');
20			$('.site-logo').hide();
21			$('.site-logo-blue').show();
22			$('.megamenu-style').addClass('scroll2');
23        } else {
24            $header_fixed.removeClass('scroll');
25			$('.site-logo').show();
26			$('.site-logo-blue').hide();
27			$('.megamenu-style').removeClass('scroll2');
28        }
29
30// 		scroll_pos = $(window).scrollTop() + $(window).height();
31// 		element_pos = $("#section2").offset().top + ($("#section2").height()/2);
32		
33// 		if (scroll_pos > element_pos) {
34// 			jQuery(".anime-line-section > div").addClass('hide-line');
35// 		} else {
36// 			jQuery(".anime-line-section > div").removeClass('hide-line');
37// 		}
38	})
39	
40	$('.mobile-menu .elementor-menu-toggle').click(function(){
41		$(this).toggleClass('active-toggle');
42		$('.main-header').toggleClass('active-toggle-menu');
43		$('body').toggleClass('overflow');
44		$('body.page-id-185 .main-header').toggleClass('scroll3');
45		$('body.page-id-24 .main-header').toggleClass('scroll3');
46		$('body.page-id-20 .main-header').toggleClass('scroll3');
47		$('body.page-id-21 .main-header').toggleClass('scroll3');
48		$('body.page-id-22 .main-header').toggleClass('scroll3');
49		$('body.page-id-18 .main-header').toggleClass('scroll3');
50		$('body.page-id-383 .main-header').toggleClass('scroll3');
51		$('body.category .main-header').toggleClass('scroll3');
52		$('body.single-post .main-header').toggleClass('scroll3');
53	})
54
55	$('.home-slider').slick({
56		dots: true,
57		arrows: false,
58		infinite: true,
59		speed: 500,
60		slidesToShow: 1,
61		slidesToScroll: 1,
62		adaptiveHeight: true,
63	})
64	
65	$(window).load(function () {
66		var wi = $(window).width();
67		if(wi >= 1348) {
68			var bodyHeight = $('body').innerHeight();
69    		$('.lines').css('height', bodyHeight);
70		}
71	})
72	
73	$('.icon-open').click(function(){
74		$(this).next('.technologies-section').slideDown(300);
75		$(this).addClass('icon-hidden');
76	})
77	
78	$('.hide-icon').click(function(){
79		$(this).parents('.technologies-section').slideUp(300);
80		$('.icon-open').removeClass('icon-hidden');
81	})
82	
83	var bg_fixed = $(".bg-fixed img").attr('src');
84	$('.bg-fixed .elementor-background-overlay').parallax({imageSrc: bg_fixed});
85	jQuery('.address_country select').on('change', function(e){
86		console.log(e);
87		setTimeout(() => {var options = jQuery('.address_state select option'); jQuery(options[0]).text('STATE/PROVINCE'); }, 300);
88	});
89	setTimeout(() => {
90		jQuery('.address_country select option[value="United States"]').insertBefore('.address_country select option[value="Afghanistan"]'); 
91		jQuery('.address_country select option[value="Ireland"]').insertBefore('.address_country select option[value="Afghanistan"]');
92		jQuery('.address_country select option[value="Costa Rica"]').insertBefore('.address_country select option[value="Afghanistan"]');
93	}, 1000);
94});

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.