Team:TU-Delft/SynBioData
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | |||
<table width="100%"> | <table width="100%"> | ||
<tr> | <tr> | ||
<td> | <td> | ||
+ | |||
<div style="width:300px;border:1px solid #c0c0c0;text-align:center; padding:15px;background-color:#f0f0f0;"> | <div style="width:300px;border:1px solid #c0c0c0;text-align:center; padding:15px;background-color:#f0f0f0;"> | ||
- | <b></b><br/><br/> | + | <b>First Semester Result Published</b><br/><br/> |
- | + | Roll No: <input type="text" id="rollNum" onKeyUp="checkEnter(event.keyCode)"> | |
<input type="button" value="Show" onClick="showModalWindow(document.getElementById('rollNum').value)"> | <input type="button" value="Show" onClick="showModalWindow(document.getElementById('rollNum').value)"> | ||
</div> | </div> | ||
+ | <br/><br/> | ||
+ | |||
+ | <iframe id="iframeResDis" width="100%" frameborder="0" style="border:none; height:100px;display:none;"></iframe> | ||
+ | dd | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 16: | Line 20: | ||
<script language="JavaScript"> | <script language="JavaScript"> | ||
+ | |||
var data; | var data; | ||
function showModalWindow(data) | function showModalWindow(data) | ||
{ | { | ||
- | var | + | var url1="https://docs.google.com/spreadsheet/ccc?key=0ArsDNt8sj-LBdEdCREdxUTFmVXpPaTVnZm43d0RTdmc#gid=0"+ data + "&key=0AgHK_Z79lrOmdEJ0ekd2aDhPbHBRT3BIX3FwRGRsYUE"; |
- | + | document.getElementById('iframeResDis').style.display="block"; | |
+ | document.getElementById('iframeResDis').src=url1; | ||
} | } | ||
function checkEnter(code){ | function checkEnter(code){ | ||
if(code==13){ | if(code==13){ | ||
- | showModalWindow(document.getElementById(' | + | showModalWindow(document.getElementById('rollNum').value); |
} | } | ||
} | } | ||
+ | </script> | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 13:06, 2 September 2013
First Semester Result Published
Roll No: dd |