Team:UT-Tokyo/Templates/BeginContent
From 2011.igem.org
(Difference between revisions)
m |
|||
Line 8: | Line 8: | ||
div.float-left{float:left;} | div.float-left{float:left;} | ||
div.float-right{float:right; width:487.5px;} | div.float-right{float:right; width:487.5px;} | ||
- | div.active{} | + | div.active{text-align:right; } |
+ | div.trigger{width:800px; padding-left:20px; font-size:10px} | ||
div.panel{overflow: hidden;} | div.panel{overflow: hidden;} | ||
Line 662: | Line 663: | ||
$(function(){ | $(function(){ | ||
$("div.panel").hide(); | $("div.panel").hide(); | ||
- | $(". | + | $("div.trigger").click(function(){ |
$(this).toggleClass("active").next().slideToggle("fast"); | $(this).toggleClass("active").next().slideToggle("fast"); | ||
}); | }); |
Revision as of 15:27, 20 September 2011