Difference between revisions of "Template:AFCM-Egypt"

Line 1: Line 1:
 
 
<html>
 
<html>
  
Line 19: Line 18:
 
//this function controls the expand and collapse buttons of the menu and changes the +/- symbols
 
//this function controls the expand and collapse buttons of the menu and changes the +/- symbols
 
function menu_functionality() {
 
function menu_functionality() {
//when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
+
 
 +
//when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
 
$(".menu_button").click(function(){
 
$(".menu_button").click(function(){
  
Line 27: Line 27:
 
$(this).next('.submenu_wrapper').fadeToggle(400);
 
$(this).next('.submenu_wrapper').fadeToggle(400);
 
});
 
});
 
  
 
// 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
Line 85: Line 84:
  
 
</script>
 
</script>
 +
  
  

Revision as of 20:37, 7 August 2017