PageSourceSearch

https://peoples-law.com/sites/default/files/asset_injector/js/quic…-51f45f349a4ba2ec97b020f13259134f.js?tm9f01

js peoples-law.com collected 2026-10-05 06:46:26 UTC 2,250 bytes, 60 lines download raw bytes

1var window_width = jQuery( window ).width();
2  var fixmeElmenent = jQuery('#block-views-block-quick-exit-block-1');
3  if(fixmeElmenent.length){
4   	var fixmeTop = jQuery('#block-views-block-quick-exit-block-1').offset().top;       // get initial position of the element
5	  
6	  jQuery(window).scroll(function() {                  // assign scroll event listener
7			var currentScroll = jQuery(window).scrollTop(); // get current position
8			if(window_width > 768 )
9			{
10				  if (currentScroll >= fixmeTop) {           // apply position: fixed if you
11					  jQuery('#block-views-block-quick-exit-block-1').css({                      // scroll to that element or below it
12						  "z-index": "1000",
13						  "position": "fixed",
14						  "bottom": "1%",
15						  "left": "60%"
16					  });
17				  }
18				  else 
19					{                                   // apply position: static
20					  jQuery('#block-views-block-quick-exit-block-1').removeAttr("style");
21					}
22			}
23			else 
24			{ 
25			  jQuery('#block-views-block-quick-exit-block-1').removeAttr("style");
26			}
27		  });
28  }
29
30jQuery( window ).resize(function() {
31	var fixmeElmenent = jQuery('#block-views-block-quick-exit-block-1');
32	if(fixmeElmenent.length){
33		var fixmeTop = jQuery('#block-views-block-quick-exit-block-1').offset().top;       // get initial position of the element
34		jQuery(window).scroll(function() {                  // assign scroll event listener
35			var currentScroll = jQuery(window).scrollTop(); // get current position
36			if(window_resize_width > 768 )
37			{
38			  
39				  if (currentScroll >= fixmeTop) {           // apply position: fixed if you
40					  jQuery('#block-views-block-quick-exit-block-1').css({                      // scroll to that element or below it
41						  "z-index": "1000",
42						  "position": "fixed",
43						  "top": "61px",
44						  "max-width": "100%",
45						  "clear": "both",
46						  "background-color": "#fff"
47					  });  
48				  }
49				  else 
50					{                                   // apply position: static
51					  jQuery('#block-views-block-quick-exit-block-1').removeAttr("style");
52					}
53			}
54			else 
55			{ 
56			  jQuery('#block-views-block-quick-exit-block-1').removeAttr("style");
57			}
58		});
59	}
60});

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.