Template:ZJU-China/Tools

From 2014.igem.org

(Difference between revisions)
 
(3 intermediate revisions 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" style="word-break: break-all;"><tr><td style="width: 4%">part</td><td style="width: 32%">homo</td><td style="width: 32%">pp</td><td style="width: 32%">fp</td></tr>';
 
-
                for (key in data) {
 
-
                    txt += '<tr><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]['fprimer'];
 
-
                    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