PageSourceSearch

https://hatterassol.com/wp-content/themes/altitude-pro/js/global.js?ver=1.0.0

js hatterassol.com collected 2026-10-04 22:29:16 UTC 1,144 bytes, 41 lines download raw bytes

1jQuery(function( $ ){
2
3	if( $( document ).scrollTop() > 0 ){
4		$( '.site-header' ).addClass( 'dark' );			
5	}
6
7	// Add opacity class to site header
8	$( document ).on('scroll', function(){
9
10		if ( $( document ).scrollTop() > 0 ){
11			$( '.site-header' ).addClass( 'dark' );			
12
13		} else {
14			$( '.site-header' ).removeClass( 'dark' );			
15		}
16
17	});
18
19
20	$( '.nav-primary .genesis-nav-menu, .nav-secondary .genesis-nav-menu' ).addClass( 'responsive-menu' ).before('<div class="responsive-menu-icon"></div>');
21
22	$( '.responsive-menu-icon' ).click(function(){
23		$(this).next( '.nav-primary .genesis-nav-menu,  .nav-secondary .genesis-nav-menu' ).slideToggle();
24	});
25
26	$( window ).resize(function(){
27		if ( window.innerWidth > 800 ) {
28			$( '.nav-primary .genesis-nav-menu,  .nav-secondary .genesis-nav-menu, nav .sub-menu' ).removeAttr( 'style' );
29			$( '.responsive-menu > .menu-item' ).removeClass( 'menu-open' );
30		}
31	});
32
33	$( '.responsive-menu > .menu-item' ).click(function(event){
34		if ( event.target !== this )
35		return;
36			$(this).find( '.sub-menu:first' ).slideToggle(function() {
37			$(this).parent().toggleClass( 'menu-open' );
38		});
39	});
40
41});

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.