Difference between revisions of "Template:ShanghaitechChina"

Line 174: Line 174:
 
                     <li><a href="https://2016.igem.org/Team:ShanghaitechChina">Home</a></li>
 
                     <li><a href="https://2016.igem.org/Team:ShanghaitechChina">Home</a></li>
 
                     <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Team">Team</a></li>
 
                     <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Team">Team</a></li>
                     <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Project<span class="caret"></span></a>
+
                     <li id="Project" class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Project<span class="caret"></span></a>
 
                     <ul class="dropdown-menu" style="margin-left:0;">
 
                     <ul class="dropdown-menu" style="margin-left:0;">
 
                     <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Biofilm">Biofilm</a></li>
 
                     <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Biofilm">Biofilm</a></li>
Line 190: Line 190:
 
         </div>
 
         </div>
 
     </nav>
 
     </nav>
 +
<script>
 +
$('#Project').click(function(){
 +
$(this).toggleClass('dropdown open');
 +
$(this).toggleClass('dropdown');
 +
});
 +
</script>
 
</head>
 
</head>
 
<body>
 
<body>

Revision as of 09:02, 16 October 2016

igem2016:ShanghaiTech