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;}
+
.top-panel { border-bottom:3px solid #e8f3c6;}
-
#sub-panel { text-align:center; }
+
.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 { width:150px; float:right; color:#000; text-decoration:none; margin-right:30px; font-weight:bold; }
-
#sub-panel a span { padding:6px; display:block; }
+
.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(){
+
   $(".sub-panel").click(function(){
-
       $("#top-panel").slideToggle();
+
       $(this).prev().prev(".top-panel").slideToggle();
-
       var el = $("#shText");   
+
       var el = $(this).find(".shText");   
-
       var state = $("#shText").html();
+
       var state = $(this).find(".shText").html();
-
       state = (state == 'Hide assay 1' ? '<span id="shText">Show assay 1</span>' : '<span id="shText">Hide assay 1</span>');               
+
       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)=
-
==Assay 1 (TBD)==
+
==Section 1==
 +
<div class="top-panel">
 +
TBD
 +
<!--Section 1 contents: Substrate-induced Cell Assembling-->
-
<div id="top-panel">
 
-
====TBD====
 
</div>
</div>
<html>
<html>
-
<div id="sub-panel"><a id="toggle"><span id="shText">Hide assay 1</span></a></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-->
-
{{:Team:UT-Tokyo/Templates/EndContent}}
+
</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

Results(TBD)

Section 1

TBD


Section 2

TBD


Section 3

TBD