Team:TU Munich/lab/notebook
From 2011.igem.org
(Difference between revisions)
Line 133: | Line 133: | ||
<div id='labmenu' class='' style="float:left;width:200px;"> | <div id='labmenu' class='' style="float:left;width:200px;"> | ||
<script> | <script> | ||
+ | $(document).ready(function() { | ||
+ | $(':checkbox').click( function() | ||
+ | { | ||
+ | if ($(this).is(':checked')){ | ||
+ | $('.'+this.value).css({'display','block'}) | ||
+ | console.log(this.value); | ||
+ | } else { | ||
+ | $('.'+this.value).css({'display','none'}) | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
</script> | </script> |
Revision as of 20:52, 14 September 2011