Difference between revisions of "Template:AFCM-Egypt"

Line 28: Line 28:
 
$(this).next('.submenu_wrapper').fadeToggle(1000);
 
$(this).next('.submenu_wrapper').fadeToggle(1000);
 
});
 
});
 
 
 
$(".submenu_button").hoverr(function(){
 
 
// add or remove the class "open" , this class holds the "-"
 
$(this).children().toggleClass("open");
 
// show or hide the submenu
 
$(this).next('.submenu_wrapper').fadeToggle(1000);
 
});
 
 
 
 
  
  
Line 241: Line 228:
 
/* wrapper for the submenu items, they are hidden by default*/
 
/* wrapper for the submenu items, they are hidden by default*/
 
.igem_2017_menu_wrapper .submenu_wrapper {  
 
.igem_2017_menu_wrapper .submenu_wrapper {  
 
+
  margin:0px;
 +
    padding:0px;
 +
    display:none;
 +
    position:relative;
 +
    left:0px;
 +
    z-index: 99;
 +
    top:0px;
 +
    padding-top: 50px
 
    
 
    
    display:none;
 
 
    position:absolute;
 
float:left;
 
  top: 80%;
 
  left: 0;
 
width: 150px; border: 1px solid #666;
 
 
 
  
  

Revision as of 20:24, 7 August 2017