PageSourceSearch

https://www.urban75.org/blog/wp-content/themes/hitmag-pro/js/custom-sticky-menu.js?ver=1.5.0

js urban75.org collected 2026-09-24 17:34:48 UTC 770 bytes, 27 lines download raw bytes

1jQuery(document).ready(function(){
2	
3	var wpAdminBar = jQuery('#wpadminbar'),
4		$body = jQuery( 'body' ),
5		$navigation = $body.find( '.hm-nav-container' ),
6		$menuToggle = $navigation.find( '.menu-toggle' );
7
8		if ( 'none' === $menuToggle.css( 'display' ) ) {
9			if (wpAdminBar.length) {
10				jQuery($navigation).sticky({topSpacing:wpAdminBar.height()});
11			} else {
12				jQuery($navigation).sticky({topSpacing:0});
13			}
14		}
15		
16		jQuery( window ).resize(function() {
17			if ( 'none' === $menuToggle.css( 'display' ) ) {
18				if (wpAdminBar.length) {
19					jQuery($navigation).sticky({topSpacing:wpAdminBar.height()});
20				} else {
21					jQuery($navigation).sticky({topSpacing:0});
22				}
23			} else {
24				jQuery($navigation).unstick();
25			} 
26		});
27});

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.