Team:UT-Tokyo/Data/Modeling/Model01/applet

From 2011.igem.org

(Difference between revisions)
(Created page with "<html> <script type="text/javascript" src="http://www.java.com/js/deployJava.js"></script> <script type="text/javascript"> - <![CDATA[: var attributes = { ...")
Line 1: Line 1:
 +
{{:Team:UT-Tokyo/Templates/BeginContent|fullpagename=Team:UT-Tokyo/Data/Modeling/Model01/applet|subpagename=Model01/applet}}
 +
 +
<html>
 +
<style type="text/css">
 +
div.float-left{float:left; width:482px;}
 +
div.float-right{float:right; width:482px;}
 +
span.sub{vertical-align: sub;}
 +
span.super{vertical-align:super;}
 +
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>
 +
 +
<script type="text/javascript">
 +
$(function(){
 +
  $(".sub-panel").click(function(){
 +
      $(this).prev().prev(".top-panel").slideToggle();
 +
      var el = $(this).find(".shText"); 
 +
      var state = $(this).find(".shText").html();
 +
      state = (state == 'Hide' ? '<span class="shText">Show</span>' : '<span class="shText">Hide</span>');             
 +
      el.replaceWith(state);
 +
  });
 +
});
 +
</script>
 +
 +
 +
</html>
 +
<html>
<html>
<script type="text/javascript"
<script type="text/javascript"

Revision as of 19:44, 5 October 2011