Team:ETH Zurich/project/background

From 2014.igem.org

(Difference between revisions)
m
Line 1: Line 1:
{{:Team:ETH Zurich/tpl/head|Background}}
{{:Team:ETH Zurich/tpl/head|Background}}
-
<html>
+
{{:Team:ETH Zurich/tpl/head/simplify}}
-
 
+
-
<script>
+
-
 
+
-
$(document).ready(function() {
+
-
 
+
-
    $("text").on("click", function(){
+
-
      var ID = $(this).attr("name");
+
-
      $(this).text(function(i, text){
+
-
          return text === "Complexify" ? "Simplify" : "Complexify";
+
-
      })
+
-
        $("article."+ID+".complex").toggle();
+
-
        $("article."+ID+".simple").toggle();
+
-
    });
+
-
 
+
-
    $("polygon").on("click", function(){
+
-
      var ID = $(this).next().attr("name");
+
-
      $(this).next().text(function(i, text){
+
-
          return text === "Complexify" ? "Simplify" : "Complexify";
+
-
      })
+
-
        $("article."+ID+".complex").toggle();
+
-
        $("article."+ID+".simple").toggle();
+
-
    });
+
-
});
+
-
 
+
-
</script>
+
<div id="emergence">
<div id="emergence">

Revision as of 15:03, 12 September 2014

iGEM ETH Zurich 2014