User:ChristopherW

From 2013.igem.org

(Difference between revisions)
 
(113 intermediate revisions not shown)
Line 1: Line 1:
-
 
<html>
<html>
-
<script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
+
<head>
-
<script type="text/javascript">/* <![CDATA[ */
+
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
 +
<script type="text/javascript" src="http://api.jquery.com/resources/events.js"></script>
-
fun(){
+
-
$(document).getElementById("Test").innerHTML = Worked!
+
<script type="text/javascript" src="https://2013.igem.org/Team:TU-Munich/AjaxExtension.js?action=raw&ctype=text/js"></script>
-
}
+
<script type="text/javascript" src="https://2013.igem.org/Team:TU-Munich/md5_pajhome.js?action=raw&ctype=text/js"></script>
 +
<script type="text/javascript" src="https://2013.igem.org/Team:TU-Munich/Flot.js?action=raw&ctype=text/js"></script>
-
;
+
<!-- IMPORTANT: DON'T REMOVE THIS LINE, OTHERWISE NOT SUPPORTED FOR IE BEFORE 9 -->
 +
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="excanvas.min.js"></script><![endif]-->
-
/* ]]> */</script>
+
<script type="text/javascript" src="https://2013.igem.org/Team:TU-Munich/AnnotatorCode2.js?action=raw&ctype=text/js"></script>
-
<p id="Test">This is the Test paragraph!</p>
+
<title>AutoAnnotator by Team TU-Munich 2013</title>
-
<button onclick="fun()">Click me!</button>
+
</head>
 +
 
 +
<body>
 +
 
 +
<p id="Command">Enter a BioBrick number below, either starting with "BBa_" or just the alphanumeric code! <br>
 +
Alternatively (e.g. for new BioBricks, which aren't in the Registry yet) you can enter the nucleotide sequence directly.
 +
</p>
 +
 
 +
<form>
 +
<input type="text" id="EnteredBioBrick"> Enter BioBrick number or DNA sequence!
 +
<br>
 +
<input type="button" id="CreateTableButton" onclick="get_sequence()" value="Click here to create table">
 +
</form>
 +
 
 +
<p id="htmlExplanation"></p>
 +
<p id="htmlTable"></p>
 +
 
 +
<p id="wikiExplanation"></p>
 +
 
 +
<textarea readonly id="wikiTable" style="width:100%; display: none;" rows="4"></textarea>
 +
 
 +
<script>
 +
//for enter to trigger program when cursor in the textfield
 +
$('#EnteredBioBrick').keyup(function(event) {
 +
if (event.which == 13){
 +
$('#EnteredBioBrick').blur(); //to loose focus
 +
$('#CreateTableButton').click();
 +
}
 +
})
 +
$('#EnteredBioBrick').keydown(function(event) {
 +
if (event.which == 13) {
 +
  event.preventDefault();
 +
}
 +
});
 +
</script>
 +
 +
</body>
</html>
</html>

Latest revision as of 21:26, 14 September 2013

AutoAnnotator by Team TU-Munich 2013

Enter a BioBrick number below, either starting with "BBa_" or just the alphanumeric code!
Alternatively (e.g. for new BioBricks, which aren't in the Registry yet) you can enter the nucleotide sequence directly.

Enter BioBrick number or DNA sequence!