PageSourceSearch

https://pilbeam.com/wp-content/themes/input/assets/js/main.js?ver=1791592593

js pilbeam.com collected 2026-10-10 00:38:16 UTC 2,505 bytes, 107 lines download raw bytes

1/** @format */
2
3jQuery(function () {
4	'use strict';
5
6	//*============ parallaxie js ==============*/
7	
8	if ($('.parallaxie').length) {
9		if ($(window).width() > 767) {
10			$('.parallaxie').parallaxie({
11				speed: 0.5,
12			});
13		}
14	}
15
16	//*============ background image js ==============*/
17	$('[data-bg-img]').each(function () {
18		var bg = $(this).data('bg-img');
19		$(this).css({
20			background: 'no-repeat center 0/cover url(' + bg + ')',
21		});
22	});
23
24	//* Navbar Fixed
25	function navbarFixedTwo() {
26		if ($('.sticky_nav').length) {
27			$(window).scroll(function () {
28				var scroll = $(window).scrollTop();
29				if (scroll) {
30					$('.sticky_nav').addClass('navbar_fixed');
31				} else {
32					$('.sticky_nav').removeClass('navbar_fixed');
33				}
34			});
35		}
36	}
37	navbarFixedTwo();
38
39	if ($('.site-header').hasClass('site-header')) {
40		var nav = $('.site-header');
41		$(window).on('load resize', function () {
42			var headerHeight = nav.outerHeight();
43			nav.css('height', headerHeight).show();
44		});
45	}
46
47	function Menu_js() {
48		if ($('.submenu').length) {
49			$('.submenu > .dropdown-toggle').click(function () {
50				var location = $(this).attr('href');
51				window.location.href = location;
52				return false;
53			});
54		}
55	}
56	Menu_js();
57
58	function menu_dropdown() {
59		if ($(window).width() < 992) {
60			$('.menu > li .mobile_dropdown_icon,.search_cart .shpping-cart').on(
61				'click',
62				function (event) {
63
64					$(this).parent().find('.dropdown-menu').first().slideToggle(700);
65					$(this)
66						.parent()
67						.find('.mobile_dropdown_icon')
68						.first()
69						.toggleClass('arrow_rotate');
70					$(this).parent().siblings().find('.dropdown-menu').slideUp(700);
71					$(this)
72						.parent()
73						.siblings()
74						.find('.mobile_dropdown_icon')
75						.removeClass('arrow_rotate');
76				}
77			);
78		}
79	}
80	menu_dropdown();
81
82	
83
84	$('.search_cart .search a').on('click', function () {
85		if ($(this).parent().hasClass('open')) {
86			$(this).parent().removeClass('open');
87		} else {
88			$(this).parent().addClass('open');
89		}
90		return false;
91	});
92
93
94	$('.navbar-toggler').on('click', function () {
95		if ($('.navbar-toggler').hasClass('collapsed')) {
96			$(this).removeClass('collapsed');
97		} else {
98			$(this).addClass('collapsed');
99		}
100
101		if ($('.navbar-collapse').not('show')) {
102			$('.navbar-collapse').removeClass('show').slideToggle(700);
103		} else {
104			$('.navbar-collapse').addClass('show').slideUp(700);
105		}
106	});
107});

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.