X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=web%2Fout%2Fdist%2Fjs%2Fmenu.js;fp=web%2Fout%2Fdist%2Fjs%2Fmenu.js;h=0000000000000000000000000000000000000000;hb=36ed114046cbe3d72a3589230e9f306a54fcc79d;hp=aca3c765a1915bdcc82b330dd9d07a6237bbd8cb;hpb=281c96e95451269f2614684b8de5be25862c8374;p=mtweb diff --git a/web/out/dist/js/menu.js b/web/out/dist/js/menu.js deleted file mode 100644 index aca3c76..0000000 --- a/web/out/dist/js/menu.js +++ /dev/null @@ -1,29 +0,0 @@ -$(document).ready( - function (){ - init_menu_links(); - } -); - -// ---------------------------------------- menus header - -var menu = null; - -function checkHover(){ - if(menu) menu.find('ul').fadeOut('fast'); -} - -function init_menu_links(){ - $('.menu li').hover( - function(){ - if(menu){ - menu.find('ul').fadeOut('fast'); - menu = null; - } - $(this).find('ul').fadeIn('fast'); - }, - function(){ - menu = $(this); - setTimeout("checkHover()", 80); - } - ); -}