Team:IIT Madras/Notebook/digestion
From 2011.igem.org
(Difference between revisions)
(28 intermediate revisions not shown) | |||
Line 54: | Line 54: | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"/></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"/></script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | 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< | + | while(i<6){ |
- | document.getElementById(" | + | document.getElementById("content_text").innerHTML=document.getElementById("content_text").innerHTML+chem_name[i]+" "+chem_value[i]+"<br/>"; |
+ | console.log(document.getElementById("content_text").innerHTML); | ||
i++; | i++; | ||
} | } | ||
- | document.getElementById(" | + | |
+ | document.getElementById("vector_image").innerHTML="<img src=\'"+vector_image_url+"\' />"; | ||
+ | document.getElementById("comments").innerHTML="<p>"+comments+"</p>"; | ||
+ | |||
+ | }); | ||
</script> | </script> | ||
</head> | </head> | ||
Line 93: | Line 101: | ||
<div id="content_body"> | <div id="content_body"> | ||
<div id="content_text"> | <div id="content_text"> | ||
- | |||
- | <div id=" | + | <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