Team:ETH Zurich/project/overview

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
$(document).ready(function() {
$(document).ready(function() {
-
     $("div.summarysimple").show();
+
     $("article.summarysimple").show();
-
     $("div.summarycomplex").hide();
+
     $("article.summarycomplex").hide();
     $("button").on("click", function(){
     $("button").on("click", function(){
         var filtertag = $(this).attr('class');
         var filtertag = $(this).attr('class');
-
         $("div").hide().filter('.' + filtertag).show();
+
         $("article").hide().filter('.' + filtertag).show();
     });
     });
});
});
Line 24: Line 24:
<button class = "summarysimple"> Simplify </button>
<button class = "summarysimple"> Simplify </button>
-
<div class="summarycomplex">
+
<article class="summarycomplex">
</html> {{:Team:ETH Zurich/project/overview/summary}} <html>
</html> {{:Team:ETH Zurich/project/overview/summary}} <html>
-
</div>
+
</article>
-
<div class="summarysimple">
+
<article class="summarysimple">
</html> {{:Team:ETH Zurich/project/overview/summarysimple}} <html>
</html> {{:Team:ETH Zurich/project/overview/summarysimple}} <html>
-
</div>
+
</article>
<h2> Background </h2>
<h2> Background </h2>

Revision as of 09:09, 2 September 2014

iGEM ETH Zurich 2014