Team:ETH Zurich/project/overview

From 2014.igem.org

(Difference between revisions)
Line 9: Line 9:
     $("button").on("click", function(){
     $("button").on("click", function(){
-
       var ID = $(this).attr("id");
+
       var ID = $(this).attr("name");
       $(this).text(function(i, text){
       $(this).text(function(i, text){
           return text === "Simplify" ? "Complexify" : "Simplify";
           return text === "Simplify" ? "Complexify" : "Simplify";
Line 33: Line 33:
<html>
<html>
</article>
</article>
-
<button href="#summary" id="summary" class="button" style="margin:-3em 0 3em 0;"> Complexify </button>
+
<button href="#summary" name="summary" class="button" style="margin:-3em 0 3em 0;"> Complexify </button>
<article id="implementation" class="complex" style="display:none;">
<article id="implementation" class="complex" style="display:none;">
Line 47: Line 47:
</article>
</article>
-
<button id="implementation" class="button"> Complexify </button>
+
<button href="#implementation" name="implementation" class="button"> Complexify </button>
<!--
<!--

Revision as of 14:41, 2 September 2014

iGEM ETH Zurich 2014