HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/sites/all/themes/marinelli/js/menu/marinelli_menu.js
/* js menu (uses hoverintent) */

jQuery(document).ready(function($){
		   
var openmenu=null;

var config = {    
     sensitivity: 3, // number = sensitivity threshold (must be 1 or higher)    
     interval: 50, // number = milliseconds for onMouseOver polling interval    
     over: openMenu, // function = onMouseOver callback (REQUIRED)    
     timeout: 300, // number = milliseconds delay before onMouseOut    
     out: closeMenu // function = onMouseOut callback (REQUIRED)    
};


$("div.mega").addClass("open").css('display','none');


function openMenu(){ 
		 
		if(openmenu!=null && openmenu!=this)$("div.mega",openmenu).css('display','none');
		$("div.mega",this).css('display','block');
		openmenu=this;		
}
		

function closeMenu(){
		
		$("div.mega",this).css('display','none');
		
}

$("#navigation-primary ul > li:has('div.mega')").hoverIntent(config);
$("span.close-panel").click(function(){
									
	$("div.mega").fadeOut();
	
});

$("span.close-panel").hover(

	function(){$(this).parents("div.mega").addClass("closing");},
	function(){$(this).parents("div.mega").removeClass("closing");}
	
	);

});