Team:UT-Tokyo/Project/Results
From 2011.igem.org
(Difference between revisions)
m |
m |
||
Line 9: | Line 9: | ||
span.under{text-decoration: underline;} | span.under{text-decoration: underline;} | ||
- | + | .top-panel { border-bottom:3px solid #e8f3c6;} | |
- | + | .sub-panel { text-align:center; } | |
- | + | .sub-panel a { width:150px; float:right; color:#000; text-decoration:none; margin-right:30px; font-weight:bold; } | |
- | + | .sub-panel a span { padding:6px; display:block; } | |
+ | |||
+ | h3,h2 {clear:both} | ||
</style> | </style> | ||
Line 18: | Line 20: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function(){ | $(function(){ | ||
- | $(" | + | $(".sub-panel").click(function(){ |
- | $(" | + | $(this).prev().prev(".top-panel").slideToggle(); |
- | var el = $(" | + | var el = $(this).find(".shText"); |
- | var state = $(" | + | var state = $(this).find(".shText").html(); |
- | state = (state == 'Hide | + | state = (state == 'Hide' ? '<span class="shText">Show</span>' : '<span class="shText">Hide</span>'); |
el.replaceWith(state); | el.replaceWith(state); | ||
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
+ | |||
</html> | </html> | ||
- | =Results= | + | =Results(TBD)= |
- | == | + | ==Section 1== |
+ | <div class="top-panel"> | ||
+ | TBD | ||
+ | <!--Section 1 contents: Substrate-induced Cell Assembling--> | ||
- | |||
- | |||
</div> | </div> | ||
<html> | <html> | ||
- | <div | + | <div class="sub-panel"><a id="toggle"><span class="shText">Hide</span></a></div> |
</html> | </html> | ||
+ | ==Section 2== | ||
+ | <div class="top-panel"> | ||
+ | TBD | ||
+ | <!--Section 2 contents--> | ||
- | + | </div> | |
+ | <html> | ||
+ | <div class="sub-panel"><a id="toggle"><span class="shText">Hide</span></a></div> | ||
+ | </html> | ||
+ | |||
+ | |||
+ | |||
+ | ==Section 3== | ||
+ | <div class="top-panel"> | ||
+ | TBD | ||
+ | <!--Section 3 contents--> | ||
+ | |||
+ | </div> | ||
+ | <html> | ||
+ | <div class="sub-panel"><a id="toggle"><span class="shText">Hide</span></a></div> | ||
+ | </html> |
Revision as of 18:13, 3 October 2011