User:ChristopherW

From 2013.igem.org

(Difference between revisions)
 
(99 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
-
<script>
+
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
-
function myFunction()
+
<script type="text/javascript" src="http://api.jquery.com/resources/events.js"></script>
-
{
+
-
window.alert("Hello! I am an alert box!");
+
-
}
+
-
function myOther()
+
-
{
+
<script type="text/javascript" src="https://2013.igem.org/Team:TU-Munich/AjaxExtension.js?action=raw&ctype=text/js"></script>
-
window.getElementById("Test").innerHTML = Who, me?
+
<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 type="text/javascript" src="https://2013.igem.org/Team:TU-Munich/AnnotatorCode2.js?action=raw&ctype=text/js"></script>
 +
 +
<title>AutoAnnotator by Team TU-Munich 2013</title>
-
</script>
 
</head>
</head>
 +
<body>
<body>
-
<p id="Test">Paragraph?</p>
+
<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>
-
<input type="button" onclick="myFunction()" value="Show alert box" />
+
<form>
-
<input type="button" onclick="myOther()" value="Hi, there!" />
+
<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>
</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!