PageSourceSearch

https://www.istitutonazionaletostiano.it/wp-content/themes/betheme/js/mfn.menu.js?ver=9.4

js istitutonazionaletostiano.it collected 2026-10-10 01:27:28 UTC 1,907 bytes, 66 lines download raw bytes

1/*
2@Name:		Horizontal Multilevel Menu with WP MegaMenu Support
3@Author:    Muffin Group
4@WWW:       www.muffingroup.com
5@Version:   2.0
6*/
7
8;(function($){
9	$.fn.extend({
10		muffingroup_menu: function(options) {
11			var menu = $(this);
12			
13			var defaults = {
14				addLast		: false,
15				animation   : 'fade',	
16				arrows      : false,
17				delay       : 100,
18				hoverClass  : 'hover'
19			};
20			options = $.extend(defaults, options);
21			
22			// .submenu --------------------------
23			menu.find("li:has(ul)")
24				.addClass("submenu")
25				.append("<span class='menu-toggle'>") // responsive menu toggle
26			;	
27			
28			// .mfn-megamenu-parent -------------
29			menu.children("li:has(ul.mfn-megamenu)").addClass("mfn-megamenu-parent");	
30
31			// .last-item - submenu -------------
32			$(".submenu ul li:last-child", menu).addClass("last-item");
33			
34			// options.addLast ------------------
35			if(options.addLast) {
36				$("> li:last-child", menu)
37					.addClass("last")
38					.prev()
39						.addClass("last");
40			}
41			
42			// options.arrows -------------------
43			if( options.arrows ) {
44				menu.find( "li ul li:has(ul) > a" ).append( "<i class='menu-arrow icon-right-open'></i>" );
45			}
46			
47			// .hover() -------------------------
48			menu.find("> li, ul:not(.mfn-megamenu) li").hover(function() {
49				$(this).stop(true,true).addClass(options.hoverClass);
50				if (options.animation === "fade") {
51					$(this).children("ul").stop(true,true).fadeIn(options.delay);
52				} else if (options.animation === "toggle") {
53					$(this).children("ul").stop(true,true).slideDown(options.delay);
54				}
55			}, function(){
56				$(this).stop(true,true).removeClass(options.hoverClass);
57				if (options.animation === "fade") {
58					$(this).children("ul").stop(true,true).fadeOut(options.delay);
59				} else if (options.animation === "toggle") {
60					$(this).children("ul").stop(true,true).slideUp(options.delay);
61				}
62			});
63	
64		}
65	});
66})(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.