projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maj syntaxe accolades, maj jQuery, correction layout contact
[mtweb]
/
web
/
out
/
dist
/
js
/
menu.js
diff --git
a/web/out/dist/js/menu.js
b/web/out/dist/js/menu.js
index
47aaba9
..
aca3c76
100644
(file)
--- a/
web/out/dist/js/menu.js
+++ b/
web/out/dist/js/menu.js
@@
-1,6
+1,6
@@
-$(document).ready
-( function ()
-
{
init_menu_links();
+$(document).ready
(
+ function (){
+
init_menu_links();
}
);
}
);
@@
-8,21
+8,21
@@
$(document).ready
var menu = null;
var menu = null;
-function checkHover()
-
{
if(menu) menu.find('ul').fadeOut('fast');
+function checkHover()
{
+
if(menu) menu.find('ul').fadeOut('fast');
}
}
-function init_menu_links()
-{ $('.menu li').hover
- ( function()
- { 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');
},
menu = null;
}
$(this).find('ul').fadeIn('fast');
},
- function()
-
{
menu = $(this);
+ function()
{
+
menu = $(this);
setTimeout("checkHover()", 80);
}
);
setTimeout("checkHover()", 80);
}
);