Template:ZJU-China/Tools

From 2014.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 6: Line 6:
     <script type="text/javascript" src="https://2014.igem.org/wiki/index.php?title=Team:ZJU-China/JS/jquery.hrzAccordion.js&action=raw&ctype=text/javascript"></script>
     <script type="text/javascript" src="https://2014.igem.org/wiki/index.php?title=Team:ZJU-China/JS/jquery.hrzAccordion.js&action=raw&ctype=text/javascript"></script>
     <script type="text/javascript" src="https://2014.igem.org/wiki/index.php?title=Team:ZJU-China/JS/jquery.hrzAccordion.examples.js&action=raw&ctype=text/javascript"></script>
     <script type="text/javascript" src="https://2014.igem.org/wiki/index.php?title=Team:ZJU-China/JS/jquery.hrzAccordion.examples.js&action=raw&ctype=text/javascript"></script>
 +
    <script type="text/javascript" src="https://2014.igem.org/wiki/index.php?title=ZJU-China/JS/jquery-1.11.1.min.js&action=raw&ctype=text/javascript"></script>
     <link rel="stylesheet" type="text/css" href="https://2014.igem.org/wiki/index.php?title=Team:ZJU-China/CSS/toolstyle.css&action=raw&ctype=text/css" media="screen" />
     <link rel="stylesheet" type="text/css" href="https://2014.igem.org/wiki/index.php?title=Team:ZJU-China/CSS/toolstyle.css&action=raw&ctype=text/css" media="screen" />
     <!--<script src="./jquery-1.2.6.js" type="text/javascript" charset="utf-8"></script>-->
     <!--<script src="./jquery-1.2.6.js" type="text/javascript" charset="utf-8"></script>-->
     <script src="https://2014.igem.org/wiki/index.php?title=Team:ZJU-China/JS/form-fun.jquery.js&action=raw&ctype=text/css" type="text/javascript" charset="utf-8"></script>
     <script src="https://2014.igem.org/wiki/index.php?title=Team:ZJU-China/JS/form-fun.jquery.js&action=raw&ctype=text/css" type="text/javascript" charset="utf-8"></script>
-
    <script type="text/javascript">
 
-
function sendpost() {
 
-
$.post("http://bis.zju.edu.cn/GS_Box/index.php",{
 
-
sequence1: $("#name_attendee_1").val(),
 
-
sequence2: $("#name_attendee_2").val(),
 
-
sequence3: $("#name_attendee_3").val(),
 
-
sequence4: $("#name_attendee_4").val(),
 
-
sequence5: $("#name_attendee_5").val(),
 
-
mode: $("#modevalue").val()
 
-
},function(data){
 
-
data=eval("("+data+")");
 
-
// alert(data)
 
-
var txt='';
 
-
// txt='<p>'+data[0]['homo']+'</p>';
 
-
txt+='<table border="1" cellspacing="0" width="100%" bordercolorlight="#333333" bordercolordark="#efefef" width="100%" style="word-break: break-all;"><tr bgcolor=#cccccc><td style="width: 3%">part</td><td style="width: 17%">homo</td><td style="width: 27%">pp</td><td style="width: 5%">pp GC</td><td style="width: 5%">pp TM</td><td style="width: 26%">fp</td><td style="width: 5%">fp GC</td><td style="width: 5%">fp TM</td><td style="width: 7%">connect</td></tr>';
 
-
for (key in data) {
 
-
txt+='<tr bgcolor=#eafeff><td>';
 
-
txt+=(key*1.0+1);
 
-
txt+='</td><td>';
 
-
txt+=data[key]['homo'];
 
-
txt+='</td><td>';
 
-
txt+=data[key]['pprimer'];
 
-
txt+='</td><td>';
 
-
                txt+=data[key]['pp GC'];
 
-
txt+='</td><td>';
 
-
                txt+=data[key]['pp TM'];
 
-
txt+='</td><td>';
 
-
                txt+=data[key]['fprimer'];
 
-
                txt+='</td><td>';
 
-
                txt+=data[key]['fp GC'];
 
-
txt+='</td><td>';
 
-
                txt+=data[key]['fp TM'];
 
-
txt+='</td><td>';
 
-
txt+=data[key]['connect'];
 
-
txt+='</td></tr>';
 
-
}
 
-
txt+='</table>';
 
-
$("body").append(txt);
 
-
})
 
-
}
 
-
</script>
 
     <title>GS-Box</title>
     <title>GS-Box</title>

Latest revision as of 18:19, 17 October 2014

GS-Box