Difference between revisions of "Dev/Menu"

Line 5: Line 5:
 
$(document).ready(function() {
 
$(document).ready(function() {
  
 +
var current_element;
 
$(".top_menu_level_one").click(function(){
 
$(".top_menu_level_one").click(function(){
 
$(this).addClass("current");
 
$(this).addClass("current");
alert(this.id);  
+
current_element = this.id;
 +
$("."+current_element).html("display", "block");
 
});
 
});
  
Line 91: Line 93:
  
  
<div class="top_menu_level_two" id="igem_two">
+
<div class="top_menu_level_two igem" >
  
 
<div style="width:70%; margin-left:15%; text-align:center;" class="centering">
 
<div style="width:70%; margin-left:15%; text-align:center;" class="centering">

Revision as of 21:45, 31 January 2017

WIKI TOOLS
TOC
TEAMS
LOGIN

The International Genetically Engineered Machine Competition