Difference between revisions of "Template:AFCM-Egypt"

Line 20: Line 20:
  
 
 
 +
//when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
 +
$(".menu_button").click(function(){
  
 
+
// add or remove the class "open" , this class holds the "-"
$( '.menu_button' ).hover(
+
$(this).children().toggleClass("open");
        function(){
+
// show or hide the submenu
            $(this).children('.submenu_button').slideDown(200);
+
$(this).next('.submenu_wrapper').fadeToggle(400);
        },
+
});
        function(){
+
            $(this).children('.submenu_button').slideUp(200);
+
        }
+
    );
+
  
  
Line 775: Line 773:
  
 
<!-- start of content -->
 
<!-- start of content -->
 +
 +
[[File:DNA_Background_Video_Ruslan_2.mp4 ‎]]

Revision as of 22:10, 7 August 2017

[[File:DNA_Background_Video_Ruslan_2.mp4 ‎]]