PageSourceSearch

https://store.sandiegomarine.com/inet/styles/sdm/js/mobile_nav.js

js sandiegomarine.com collected 2026-10-09 05:12:02 UTC 1,326 bytes, 55 lines download raw bytes

1(function ($, root, undefined) {
2	
3	$(function () {
4		
5		'use strict';
6
7
8$( document ).ready(function() {
9//Open main mobile slide-down menu
10    
11    var navID = '#mobileMenu';
12    
13		$('#mobile_toggle').click(function(){
14            $(this).toggleClass('active');
15            $('body').toggleClass('no-scroll');
16            $(navID).toggleClass('open');
17            
18            if( $('#overlay').length < 1 ){
19                $('body').prepend('<div id="overlay"></div>');
20            } else {
21                $('#overlay').remove();
22            }
23        });
24    
25		//Mobile navigation
26			if ($(window).width() <= 991){	
27				$(navID).addClass('mobile-menu');
28                
29			} else if ($(window).width() >= 992){ 
30				$(navID).removeClass('mobile-menu');
31			}	
32
33			$(window).resize(function(){
34				if ($(window).width() <= 991){	
35					$(navID).addClass('mobile-menu');
36				} else if ($(window).width() >= 992){ 
37					$(navID).removeClass('mobile-menu');
38				}  	
39			});
40
41		//Get rid of the mobile nav if the window is expanded
42		$(window).resize(function(){
43			if ($(window).width() >= 992){	
44//				$(navID).removeClass('open');
45                $('#mobile_toggle').removeClass('active');
46                $('.open').removeClass('open');
47				$('#overlay').remove();
48			} 	
49		});
50    
51});
52
53        });
54	
55})(jQuery, this);

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.