Difference between revisions of "Team:Bielefeld-CeBiTec/Notebook/PlasmidDisplay"
Line 7: | Line 7: | ||
$("#button1").click(function(){ | $("#button1").click(function(){ | ||
$(".panel-collapse").show(); | $(".panel-collapse").show(); | ||
+ | }); | ||
+ | }); | ||
+ | $(document).ready(function(){ | ||
+ | $("#button2").click(function(){ | ||
+ | $(".panel-collapse").hide(); | ||
}); | }); | ||
}); | }); | ||
Line 16: | Line 21: | ||
<button id="button1" class="btn btn-info">Expand all</button> | <button id="button1" class="btn btn-info">Expand all</button> | ||
+ | </div> | ||
+ | |||
+ | <div class="container"> | ||
+ | <button id="button2"class="btn btn-info">Hide all</button> | ||
</div> | </div> | ||
Revision as of 07:27, 17 June 2015