PageSourceSearch

https://www.vinquebec.com/wp-content/themes/neve-child/js/vinquebec-navigation.js?ver=7.1.2

js vinquebec.com collected 2026-10-02 12:09:12 UTC 719 bytes, 23 lines download raw bytes

1jQuery(document).ready(function($) {
2	const nav = document.querySelector('#header-grid');
3	const content = document.querySelector('#content');
4	let navTop = nav.offsetHeight;
5
6	function fixedNav() {
7	  if (window.scrollY >= navTop) {    
8    	nav.classList.add('fixed');
9    	content.style.marginTop = navTop;
10	  } else {
11    	nav.classList.remove('fixed');    
12    	content.style.marginTop = 0;
13	  }
14	}
15
16	window.addEventListener('scroll', fixedNav);
17
18	jQuery(document).on("click", "li.menu-item-19966, li.menu-item-19967, li.menu-item-19968, li.menu-item-19969", function () {
19		jQuery(this).find('div.caret-wrap').toggleClass('dropdown-open');
20		jQuery(this).find('ul.sub-menu').toggleClass('dropdown-open');
21	});
22
23})

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.