PageSourceSearch

https://www.aokiyacht.com/zen24/wordpress/wp-content/themes/associationx-extend/js/rightsbaronoff.js?ver=7.1.3

js aokiyacht.com collected 2026-10-09 22:46:16 UTC 1,133 bytes, 29 lines download raw bytes

1//	Custom Functions
2function isInView(elem){ 'use strict';						
3   	if (jQuery(elem)[0]) { 
4		var sctollTop = jQuery(window).scrollTop();
5		var scrHeight = jQuery( window ).height();		
6		var elTop = jQuery(elem).offset().top;
7		var elHeight = jQuery(elem).outerHeight(true);		
8		var topLevelVal = elTop-scrHeight;
9		var bottomLevelVal = elTop+elHeight;
10		if ( sctollTop > topLevelVal && sctollTop < bottomLevelVal ) { return true; } else { return false; }		
11	}
12	else { return false; }
13}
14
15
16jQuery(document).ready(function(){ 'use strict';
17	if (jQuery('#right-sidebar')[0]) { 		 
18		jQuery('#container, #wpbpcontainer, #d5woocontainer'). append('<div id="rsdbaroff" class="haved5iconfont"></div>');
19		jQuery('#rsdbaroff').click(function(){ 
20			jQuery('#container, #wpbpcontainer, #d5woocontainer').toggleClass('expandcontent');
21		});		
22	}							  
23});
24
25jQuery(window).on('load resize scroll', function () { 	'use strict';
26	var rSdBar = isInView(jQuery('#right-sidebar'));		
27	if (rSdBar) { jQuery('#rsdbaroff').addClass('elementshow');	}
28	else { jQuery('#rsdbaroff').removeClass('elementshow'); }								
29});

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.