Team:IIT Madras/Notebook/digestion
From 2011.igem.org
(Difference between revisions)
(19 intermediate revisions not shown) | |||
Line 55: | Line 55: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
jQuery(document).ready(function(){ | jQuery(document).ready(function(){ | ||
+ | |||
+ | var vector_image_url="https://static.igem.org/mediawiki/2011/6/6f/200px-IIT_Madras_Logo.svg.png"; | ||
+ | |||
+ | var comments="Muhahahaha"; | ||
+ | |||
var chem_name=new Array(); | var chem_name=new Array(); | ||
Line 72: | Line 77: | ||
chem_value[4]=50; | chem_value[4]=50; | ||
chem_value[5]=60; | chem_value[5]=60; | ||
- | |||
var i=0; | var i=0; | ||
while(i<6){ | while(i<6){ | ||
- | document.getElementById("content_text").innerHTML=document.getElementById("content_text").innerHTML | + | document.getElementById("content_text").innerHTML=document.getElementById("content_text").innerHTML+chem_name[i]+" "+chem_value[i]+"<br/>"; |
console.log(document.getElementById("content_text").innerHTML); | console.log(document.getElementById("content_text").innerHTML); | ||
i++; | i++; | ||
} | } | ||
- | + | ||
+ | document.getElementById("vector_image").innerHTML="<img src=\'"+vector_image_url+"\' />"; | ||
+ | document.getElementById("comments").innerHTML="<p>"+comments+"</p>"; | ||
}); | }); | ||
Line 97: | Line 103: | ||
<h1>Exp1</h1> | <h1>Exp1</h1> | ||
- | + | <div id="vector_image"></div> | |
+ | <div id="chem_table></div> | ||
+ | <div id="comments"></div> | ||
</div> | </div> |
Latest revision as of 01:47, 29 September 2011