Team:ETH Zurich/js/slide hidden content.js
From 2014.igem.org
$(".hide_toggle").slideUp(0); $(".trigger").toggle(function() {
$(this).text('Show less'); }, function() { $(this).text('Show more'); }).click(function(){ $(this).prev(".hide_toggle").animate({ height: "toggle", opacity: "toggle" }, "slow"); });