Team:TU-Munich/Results/AutoAnnotator

From 2013.igem.org

(Difference between revisions)
 
(17 intermediate revisions not shown)
Line 5: Line 5:
<div id="wikicontent">
<div id="wikicontent">
<!-- Start des Inhalts -->
<!-- Start des Inhalts -->
 +
 +
==Use the AutoAnnotator to create your own Protein-Data table==
<html>
<html>
 +
<script type="text/javascript" src="https://2013.igem.org/Team:TU-Munich/events.js?action=raw&ctype=text/js"></script>
 +
<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="https://2013.igem.org/Team:TU-Munich/excanvas.js?action=raw&ctype=text/js"></script><![endif]-->
-
<h2>Use the AutoAnnotator to create your own Protein-Data table</h2>
 
-
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
 
<script language="JavaScript" src="https://2013.igem.org/Team:TU-Munich/AnnotatorCode.js?action=raw&ctype=text/js"></script>
<script language="JavaScript" src="https://2013.igem.org/Team:TU-Munich/AnnotatorCode.js?action=raw&ctype=text/js"></script>
-
<script language="JavaScript" src="https://2013.igem.org/Team:TU-Munich/AjaxExtension.js?action=raw&ctype=text/js"></script>
 
<p id="Command">
<p id="Command">
Line 18: Line 24:
<p><input type="text" id="EnteredBioBrick"> Enter BioBrick number or DNA sequence!</p>
<p><input type="text" id="EnteredBioBrick"> Enter BioBrick number or DNA sequence!</p>
-
<p><input type="button" onclick="get_sequence()" value="Click here to create table"></p>
+
<p><input type="button" onclick="get_sequence()" id="CreateTableButton" value="Click here to create table"></p>
<p id="htmlExplanation"></p>
<p id="htmlExplanation"></p>
<p id="htmlTable"></p>
<p id="htmlTable"></p>
-
<br>
+
 
<p id="wikiExplanation"></p>
<p id="wikiExplanation"></p>
<textarea readonly id="wikiTable" style="width:100%; display: none;" rows="4"></textarea>
<textarea readonly id="wikiTable" style="width:100%; display: none;" rows="4"></textarea>
 +
<script>
 +
// make pressing enter inside the text box, start the algorithm
 +
$('#EnteredBioBrick').keyup(function(event) {
 +
if (event.which == 13){
 +
// remove cursor from text box, so handling alerts with enter is possible
 +
$('#EnteredBioBrick').blur();
 +
// automatically click the button
 +
$('#CreateTableButton').click();
 +
}
 +
})
 +
// prevent default action of pressing enter
 +
$('#EnteredBioBrick').keydown(function(event) {
 +
if (event.which == 13) {
 +
  event.preventDefault();
 +
}
 +
});
 +
 +
 +
$(document).ready(function(){
 +
    if ($.urlParam('annotator')) {
 +
        $('#EnteredBioBrick')[0].value = $.urlParam('annotator');
 +
        $('#CreateTableButton').click();
 +
    }
 +
});
 +
</script>
<br>
<br>
<a href="https://2013.igem.org/Team:TU-Munich/Results/Software">Read the Autoannotator Description and References</a>
<a href="https://2013.igem.org/Team:TU-Munich/Results/Software">Read the Autoannotator Description and References</a>

Latest revision as of 14:44, 28 September 2013


Use the AutoAnnotator to create your own Protein-Data table

Enter a BioBrick number (e.g. K801060) or a nucleotide sequence below!

Enter BioBrick number or DNA sequence!


Read the Autoannotator Description and References

HTML Comment Box is loading comments...



Locations of visitors to this page