PageSourceSearch

https://el3devuit.cat/wp-content/themes/el3devuit19/js/el3devuit.js?ver=1

js el3devuit.cat collected 2026-10-02 12:35:06 UTC 1,254 bytes, 43 lines download raw bytes

1jQuery( document ).ready(function() {
2    
3	// Fixa la capçalera i els banners laterals
4	
5    if ( jQuery(window).width() > 768 ) {
6    	
7    	//console.log('ON');
8    	
9    	// When the user scrolls the page, execute myFunction
10    	window.onscroll = function() { el3devuitScroll() };
11
12    	// Get the header
13    	var header = document.getElementById("headsticker");
14    	var fixedbanners = document.getElementById("fixed-banners");
15    	var footer = document.getElementById("footer-widget");
16
17    	// Get the offset position of the navbar
18    	var sticky = header.offsetTop;
19    	
20    	
21
22    	// Add the sticky class to the header when you reach its scroll position. Remove "sticky" when you leave the scroll position
23    	function el3devuitScroll() {
24    		//console.log(window.pageYOffset +' :: ' + sticky);
25    	  if (window.pageYOffset > sticky) {
26    	    header.classList.add("sticky");
27    	    fixedbanners.classList.add("sticky");
28            footer.classList.add("sticky");
29    	  } else {
30    	    header.classList.remove("sticky");
31    	    fixedbanners.classList.remove("sticky");
32            footer.classList.remove("sticky");
33    	  }
34    	  
35    	} 
36	       
37    
38    
39    }
40    
41    
42    
43});

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.