PageSourceSearch

https://heynaugames.com/wp-content/themes/flymag/js/scripts.js?ver=1.1790900999

js heynaugames.com collected 2026-10-02 00:30:19 UTC 2,064 bytes, 99 lines download raw bytes

1//Menu dropdown animation
2/* global WOW */
3jQuery(function($) {
4	'use strict';
5	$('.sub-menu').hide();
6	$('.main-navigation .children').hide();
7	$('.menu-item').hover( 
8		function() {
9			$(this).children('.sub-menu').slideDown();
10		}, 
11		function() {
12			$(this).children('.sub-menu').hide();
13		}
14	);
15	$('.main-navigation li').hover( 
16		function() {
17			$(this).children('.main-navigation .children').slideDown();
18		}, 
19		function() {
20			$(this).children('.main-navigation .children').hide();
21		}
22	);	
23});
24
25
26//Fit Vids
27jQuery(function($) {
28    'use strict';
29	$('body').fitVids();
30});
31
32//Mobile menu
33jQuery(function($) {
34	'use strict';
35	$('.main-navigation .menu').slicknav({
36		label: '<i class="fa fa-bars"></i>',
37		prependTo: '.mobile-nav',
38		closedSymbol: '&#43;',
39		openedSymbol: '&#45;'
40	});
41	$('.info-close').click(function(){
42		$(this).parent().fadeOut();
43		return false;
44	});
45});	
46
47//Smooth scrolling
48jQuery(function($) {
49	'use strict';
50	$('a[href*="#"]:not([href="#"])').click(function() {
51		if (location.pathname.replace(/^\//,'') === this.pathname.replace(/^\//,'') && location.hostname === this.hostname) {
52			var target = $(this.hash);
53			target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
54			if (target.length) {
55			$('html,body').animate({
56			scrollTop: target.offset().top
57			}, 800);
58			return false;
59			}
60		}
61	});
62});
63
64//Open social links in a new tab
65jQuery(function($) {
66    'use strict';
67	$( '.social-navigation li a' ).attr( 'target','_blank' );
68});
69
70//Search form
71jQuery(function($) {
72	'use strict';
73	$('.search-toggle').click(function() {
74		$('.search-wrapper').addClass('search-visible');
75	});
76	$('.search-close').click(function() {
77		$('.search-wrapper').removeClass('search-visible');
78	});			
79});
80
81jQuery(function($) {
82	'use strict';
83	$('.news-ticker').easyTicker({
84		direction: 'up',
85		speed: 'slow',
86		interval: 3000,
87		height: 'auto',
88		visible: 0,
89		mousePause: 1,
90	});
91});
92
93//WOW.js init
94jQuery(function() {
95	'use strict';
96    if (typeof WOW !== 'undefined' && jQuery.isFunction(WOW)) {
97		new WOW().init();
98	}
99});

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.