PageSourceSearch

https://www.bpmfg.com/wp-content/themes/dynamik-gen/lib/js/responsive.js?ver=2.6.9.95

js bpmfg.com collected 2026-10-07 11:36:06 UTC 1,508 bytes, 51 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	if( $('.mobile-primary-toggle').length || $('.mobile-secondary-toggle').length ) {
4		if(dynamik_sf_enabled) {
5			var sf = $('ul.js-superfish');
6		}
7
8		$('.responsive-primary-menu-container .responsive-menu-icon').click(function() {
9			if(dynamik_sf_enabled && dynamik_reveal_sub_pages) {
10				sf.superfish('destroy');
11			}
12			$('.nav-primary').slideToggle();
13			$('#nav').slideToggle();
14		});
15
16		$('.responsive-secondary-menu-container .responsive-menu-icon').click(function() {
17			if(dynamik_sf_enabled && dynamik_reveal_sub_pages) {
18				sf.superfish('destroy');
19			}
20			$('.nav-secondary').slideToggle();
21			$('#subnav').slideToggle();
22		});
23
24		$(window).resize(function() {
25			if(dynamik_sf_enabled && dynamik_reveal_sub_pages) {
26				if(window.innerWidth <= media_query_mobile_width) {
27					sf.superfish('destroy');
28				} else {
29					sf.superfish('init');
30				}
31			}
32			if(window.innerWidth > media_query_mobile_width) {
33				$('.nav-primary').removeAttr('style');
34				$('#nav').removeAttr('style');
35				$('.nav-secondary').removeAttr('style');
36				$('#subnav').removeAttr('style');
37			}
38		});
39	}
40
41	if( $('#dropdown-nav select').length || $('#dropdown-subnav select').length ) {
42		$('#dropdown-nav select').change(function() {
43			window.location = $(this).find('option:selected').val();
44		});
45
46		$('#dropdown-subnav select').change(function() {
47			window.location = $(this).find('option:selected').val();
48		});
49	}
50
51});

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.