Team:Freiburg/Project/toolkit
From 2013.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
############################################################################## --> | ############################################################################## --> | ||
+ | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | ||
<script language="javascript" type="text/javascript"> | <script language="javascript" type="text/javascript"> | ||
- | + | $(document).ready(function(){ | |
- | + | ||
- | + | $("#check1, #check2, #check3, #check4").click(function(){ | |
- | + | $(this.value).toggle("slow"); | |
- | + | }); | |
- | + | ||
- | + | }); | |
- | + | </script> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Line 83: | Line 76: | ||
<div id="main_contant" style="height:500px;"> | <div id="main_contant" style="height:500px;"> | ||
- | + | ||
- | + | <input type="checkbox" name="check1" value="#div1" id="check1" /> | |
- | </ | + | <br /> |
- | <div id="div1"> | + | <div id="div1" style="display: none;">DIV Container 1</div> |
- | + | <input type="checkbox" name="check2" value="#div2" id="check2" /> | |
- | + | <br /> | |
- | </div> | + | <div id="div2" style="display: none;">DIV Container 2</div> |
+ | <input type="checkbox" name="check3" value="#div3" id="check3" /> | ||
+ | <br /> | ||
+ | <div id="div3" style="display: none;">DIV Container 3</div> | ||
+ | <input type="checkbox" name="check4" value="#div4" id="check4" /> | ||
+ | <div id="div4" style="display: none;">DIV Container 4</div> | ||
+ | |||
+ | |||
</div> | </div> |
Revision as of 22:07, 17 September 2013