Team:TU Munich/lab/notebook
From 2011.igem.org
(Difference between revisions)
Line 92: | Line 92: | ||
} | } | ||
} | } | ||
+ | load: function(event, ui) { | ||
+ | $('.labcheckbox').each(function() { | ||
+ | console.log(this); | ||
+ | if ($(this).is(':checked')){ | ||
+ | $('.'+this.value).css({display: 'block'}) | ||
+ | } else { | ||
+ | $('.'+this.value).css({display: 'none'}) | ||
+ | console.log('hiding '+this.value); | ||
+ | } | ||
+ | }); | ||
+ | } | ||
}); | }); | ||
}); | }); | ||
Line 99: | Line 110: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
$('.labcheckbox').each(function() { | $('.labcheckbox').each(function() { | ||
if ($(this).is(':checked')){ | if ($(this).is(':checked')){ |
Revision as of 12:58, 15 September 2011