affichage du menu utilisateur dans le header
[mtweb] / mw / app / out / default / js / script.js
1 $(document).ready(
2   function(){
3     init_menu_top();
4     init_menu_user();
5   }
6 );
7
8 function init_menu_top(){
9   $("#menu_top ul li").hover(
10     function(){
11       $(this).find(".menu").first().slideDown(200);
12     },
13     function(){
14       $(this).find(".menu").first().slideUp(200);
15     }
16   );
17 }
18 function init_menu_user(){
19   $("#main_header ul.menu_user li").hover(
20     function(){
21       $(this).find("ul").first().fadeIn(200);
22     },
23     function(){
24       $(this).find("ul").first().fadeOut(200);
25     }
26   );
27 }