PageSourceSearch

https://keepitdusty.com/wp-content/themes/muzak5/js/scripts.js?ver=4.2

js keepitdusty.com collected 2026-10-07 23:23:02 UTC 3,969 bytes, 163 lines download raw bytes

1( function( $ ) {
2	'use strict';
3
4	/* -----------------------------------------
5	Responsive Menus Init with mmenu
6	----------------------------------------- */
7	var $mainNav   = $( '.navigation' );
8	var $mobileNav = $( '#mobilemenu' );
9
10	$mainNav.clone().removeAttr( 'id' ).removeClass().appendTo( $mobileNav );
11	$mobileNav.find( 'li' ).removeAttr( 'id' );
12
13	$mobileNav.mmenu({
14		offCanvas: {
15			position: 'top',
16			zposition: 'front'
17		},
18		"autoHeight": true,
19		"navbars": [
20			{
21				"position": "top",
22				"content": [
23					"prev",
24					"title",
25					"close"
26				]
27			}
28		],
29		"extensions": ["theme-dark"]
30	});
31
32
33	/* -----------------------------------------
34	Main Navigation Init
35	----------------------------------------- */
36	$mainNav.superfish({
37		delay: 300,
38		animation: { opacity: 'show', height: 'show' },
39		speed: 'fast',
40		dropShadows: false
41	});
42
43
44	/* -----------------------------------------
45	Responsive Videos with fitVids
46	----------------------------------------- */
47	$( 'body' ).fitVids();
48
49
50	/* -----------------------------------------
51	Tracklisting
52	----------------------------------------- */
53	var $tracklisten = $('.track-listen');
54	if ($tracklisten.length) {
55		$tracklisten.click(function() {
56			var target = $(this).siblings('.track-audio');
57			var siblings = $(this).parents('.track').siblings().children('.track-audio');
58			siblings.slideUp('fast');
59			target.slideToggle('fast');
60			return false;
61		});
62	}
63	
64	/* -----------------------------------------
65	Tracklisting subtitles
66	----------------------------------------- */
67	var $track = $('.track');
68	if ($track.length) {
69		$track.each(function(){
70			var main_head = $(this).find('.main-head');
71			if (main_head.length === 0) 
72				$(this).addClass('track-single');
73		});
74	}
75
76	/* -----------------------------------------
77	Image Lightbox
78	----------------------------------------- */
79	$( ".ci-lightbox, a.zoom, a[data-rel^='prettyPhoto']" ).magnificPopup({
80		type: 'image',
81		mainClass: 'mfp-with-zoom',
82		gallery: {
83			enabled: true
84		},
85		zoom: {
86			enabled: true
87		}
88	});
89
90	
91	/* -----------------------------------------
92	SoundManager2 Init
93	----------------------------------------- */
94	soundManager.setup({
95		url: ThemeOption.swfPath
96	});
97
98	/* -----------------------------------------
99	Media Element
100	----------------------------------------- */
101	$( '.video-player video' ).mediaelementplayer();
102
103	$( window ).on( 'load', function() {
104
105		/* -----------------------------------------
106		FlexSlider Init
107		----------------------------------------- */
108		var homeSlider = $( '.home-slider' );
109
110		if ( homeSlider.length ) {
111			var animation      = homeSlider.data( 'animation' ),
112					direction      = homeSlider.data( 'direction' ),
113					slideshow      = homeSlider.data( 'slideshow' ),
114					slideshowSpeed = homeSlider.data( 'slideshowspeed' ),
115					animationSpeed = homeSlider.data( 'animationspeed' );
116
117			homeSlider.flexslider({
118				animation     : animation,
119				direction     : direction,
120				slideshow     : slideshow,
121				slideshowSpeed: slideshowSpeed,
122				animationSpeed: animationSpeed,
123				directionNav: false,
124				namespace: 'ci-',
125				prevText: '',
126				nextText: '',
127				start: function( slider ) {
128					slider.removeClass( 'loading' );
129				}
130			});
131		}
132		
133
134		/* -----------------------------------------
135		Isotope
136		----------------------------------------- */
137		var $container = $( '.filter-container' );
138		if ( $container.length > 0 ) {
139			$container.isotope();
140		
141			// filter items when filter link is clicked
142			var $filters = $( '.filters-nav li a' );
143			$filters.click( function( e ) {
144				var selector = $( this ).attr( 'data-filter' );
145				$( this ).parent().siblings().find( 'a' ).removeClass( 'selected' );
146				$( this ).addClass( 'selected' );
147			
148				$container.isotope({ 
149					filter: selector,
150					animationOptions: {
151						duration: 750,
152						easing: 'linear',
153						queue: false
154					}
155				});
156			
157				e.preventDefault();
158			});
159		}
160
161	});
162
163})( 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.