PageSourceSearch

https://bloggingmomof4.com/wp-content/themes/swank/lib/js/responsive-menu.js?ver=1.0.0

js bloggingmomof4.com collected 2026-10-02 12:00:28 UTC 665 bytes, 19 lines download raw bytes

1( function( window, $, undefined ) {
2	'use strict';
3
4	$( 'nav' ).before( '<button class="menu-toggle" role="button" aria-pressed="false"></button>' ); // Add toggles to menus
5	$( 'nav .sub-menu' ).before( '<button class="sub-menu-toggle" role="button" aria-pressed="false"></button>' ); // Add toggles to sub menus
6
7	// Show/hide the navigation
8	$( '.menu-toggle, .sub-menu-toggle' ).on( 'click', function() {
9		var $this = $( this );
10		$this.attr( 'aria-pressed', function( index, value ) {
11			return 'false' === value ? 'true' : 'false';
12		});
13
14		$this.toggleClass( 'activated' );
15		$this.next( 'nav, .sub-menu' ).slideToggle( 'fast' );
16
17	});
18
19})( 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.