Team:TU Munich/lab/notebook
From 2011.igem.org
(Difference between revisions)
Line 134: | Line 134: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
+ | $('.labcheckbox').each(function() { | ||
+ | if ($(this).is(':checked')){ | ||
+ | $('.'+this.value).css({display: 'block'}) | ||
+ | console.log(this.value); | ||
+ | } else { | ||
+ | $('.'+this.value).css({display: 'none'}) | ||
+ | } | ||
+ | }); | ||
+ | |||
$('.labcheckbox').click(function() { | $('.labcheckbox').click(function() { | ||
if ($(this).is(':checked')){ | if ($(this).is(':checked')){ |
Revision as of 21:15, 14 September 2011