PageSourceSearch

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

js truecrimeallthetime.com collected 2026-10-02 15:06:19 UTC 936 bytes, 25 lines download raw bytes

1/**
2 * Handles toggling the main navigation menu for small screens.
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.