PageSourceSearch

https://www.route66podcast.com/wp-content/themes/maronpro/js/small-menu.js?ver=20130130

js route66podcast.com collected 2026-10-02 15:14:49 UTC 938 bytes, 25 lines download raw bytes

1/**
2 * Use hamburger icon for main navigation menu for mobile
3 */
4( function( window, $, undefined ) {
5	'use strict';
6 
7		$( '.nav-primary' ).before( '<button class="menu-toggle" role="button" aria-pressed="false"></button>' ); // Add toggles to menus
8		$( '.nav-header' ).before( '<button class="menu-toggle" role="button" aria-pressed="false"></button>' );
9		/*$( '.nav-secondary' ).before( '<button class="menu-toggle" role="button" aria-pressed="false"></button>' );*/
10 
11	// Show/hide the navigation
12	$( '.menu-toggle' ).on( 'click', function() {
13		var $this = $( this );
14			$this.attr( 'aria-pressed', function( index, value ) {
15		return 'false' === value ? 'true' : 'false';
16	});
17 
18	$this.toggleClass( 'activated' );
19	$this.next( '.nav-primary' ).slideToggle( 'fast' );
20	$this.next( '.nav-header' ).slideToggle( 'fast' );
21	/*$this.next( '.nav-secondary' ).slideToggle( 'fast' );*/
22 
23});
24 
25})( this, jQuery );

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.