PageSourceSearch

https://seethroughny.net/themes/stny-v2/js/main.js

js seethroughny.net collected 2026-10-04 00:25:05 UTC 1,619 bytes, 62 lines download raw bytes

1jQuery(function () {
2	
3	
4	if (jQuery('.mobile-device').is(':visible')) {
5		jQuery('.mobile-subnav-trigger, ul.megamenu > li > a').click(function(e){
6			if($(this).siblings('.megamenu_fullwidth').length > 0) {
7				e.preventDefault();
8				debug.log('TAGE NAME: ' + this.tagName.toLowerCase());
9				if (this.tagName.toLowerCase() == "a") {
10					$local_this = jQuery(this).siblings('.mobile-subnav-trigger');
11				} else {
12					$local_this = jQuery(this);
13				}
14				// alert('fds');
15				if ($local_this.siblings('.megamenu_fullwidth').is(':visible')) {
16					$local_this.siblings('.megamenu_fullwidth').stop(true, true).slideUp(300);
17				} else {
18					$local_this.siblings('.megamenu_fullwidth').stop(true, true).slideDown(300);
19				}
20			}
21		});
22		
23	} else {
24		if (jQuery.fn.megaMenuReloaded) {
25			jQuery('.megamenu').megaMenuReloaded({
26				menu_speed_show : 300,
27				menu_speed_hide : 200,
28				menu_speed_delay : 200,
29				menu_effect : 'hover_slide',
30				menu_easing : 'jswing',
31				menu_click_outside : 1,
32				menu_show_onload : 0,
33				menubar_trigger : 0,
34				menubar_hide : 0,
35				menu_responsive : 0,
36				menu_carousel : 0,
37				menu_carousel_groups : 0
38			});
39		}
40	}
41	
42	jQuery('.special-nav-item').click(function(e){
43		e.preventDefault();
44		goToByScroll('#footer',-3)
45	});
46	
47	// jQuery(window).bind("debouncedresize", function() {
48		// setTimeout(function(){		
49			
50		// }, 100);
51		
52	// });	
53	
54});
55
56function goToByScroll(id,scroll_offset){
57    // id = id.replace("link", "");
58	scroll_offset = scroll_offset || 0;
59    jQuery('html,body').animate({
60        scrollTop: (jQuery(id).offset().top - scroll_offset)
61	},'slow');
62}

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.