Difference between revisions of "Template:AFCM-Egypt"

Line 26: Line 26:
 
$(this).children().toggleClass("open");
 
$(this).children().toggleClass("open");
 
// show or hide the submenu
 
// show or hide the submenu
$(this).next('.submenu_wrapper').fadeToggle(2000);
+
$(this).next('.submenu_wrapper').fadeToggle(1000);
 
});
 
});
 +
 +
 +
 +
$(".submenu_button").hover(function(){
 +
 +
 +
// show or hide the submenu
 +
$(this).next('.submenu_wrapper').fadeToggle(1000);
 +
});
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
 
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
 
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu

Revision as of 20:20, 7 August 2017