Team:TU Munich/Templates/Layout
From 2010.igem.org
(Difference between revisions)
Hartlmueller (Talk | contribs) |
Hartlmueller (Talk | contribs) |
||
Line 2: | Line 2: | ||
<html> | <html> | ||
</p> | </p> | ||
+ | |||
+ | <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | |||
+ | $(".toggle_container").hide(); | ||
+ | |||
+ | $("h2.trigger").click(function(){ | ||
+ | $(this).toggleClass("active").next().slideToggle("slow"); | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | </script> | ||