User:ChristopherW
From 2013.igem.org
(Difference between revisions)
ChristopherW (Talk | contribs) |
ChristopherW (Talk | contribs) |
||
(23 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | |||
- | |||
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script> | <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> | ||
+ | |||
+ | |||
+ | <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 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> | <title>AutoAnnotator by Team TU-Munich 2013</title> | ||
+ | |||
</head> | </head> | ||
<body> | <body> | ||
- | <p id="Command">Enter a BioBrick number below | + | <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> | </p> | ||
- | <input type="text" id="EnteredBioBrick"> Enter BioBrick number! | + | <form> |
- | + | <input type="text" id="EnteredBioBrick"> Enter BioBrick number or DNA sequence! | |
<br> | <br> | ||
- | <input type="button" onclick="get_sequence()" value="Click here to create table"> | + | <input type="button" id="CreateTableButton" onclick="get_sequence()" value="Click here to create table"> |
+ | </form> | ||
<p id="htmlExplanation"></p> | <p id="htmlExplanation"></p> | ||
<p id="htmlTable"></p> | <p id="htmlTable"></p> | ||
- | + | ||
<p id="wikiExplanation"></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
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.