<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>images/arrowdown.gif</filename>
    </added>
    <added>
      <filename>images/arrowleft.gif</filename>
    </added>
    <added>
      <filename>images/arrowright.gif</filename>
    </added>
    <added>
      <filename>images/arrowup.gif</filename>
    </added>
    <added>
      <filename>images/bl.gif</filename>
    </added>
    <added>
      <filename>images/bl.png</filename>
    </added>
    <added>
      <filename>images/br.gif</filename>
    </added>
    <added>
      <filename>images/br.png</filename>
    </added>
    <added>
      <filename>images/darrowdown.gif</filename>
    </added>
    <added>
      <filename>images/darrowleft.gif</filename>
    </added>
    <added>
      <filename>images/darrowright.gif</filename>
    </added>
    <added>
      <filename>images/darrowup.gif</filename>
    </added>
    <added>
      <filename>images/rarrowdown.gif</filename>
    </added>
    <added>
      <filename>images/rarrowleft.gif</filename>
    </added>
    <added>
      <filename>images/rarrowright.gif</filename>
    </added>
    <added>
      <filename>images/rarrowup.gif</filename>
    </added>
    <added>
      <filename>images/tl.gif</filename>
    </added>
    <added>
      <filename>images/tl.png</filename>
    </added>
    <added>
      <filename>images/tr.gif</filename>
    </added>
    <added>
      <filename>images/tr.png</filename>
    </added>
    <added>
      <filename>jquery.cluetip.css</filename>
    </added>
    <added>
      <filename>jquery.cluetip.js</filename>
    </added>
    <added>
      <filename>jquery.dimensions.js</filename>
    </added>
    <added>
      <filename>jquery.hoverIntent.js</filename>
    </added>
    <added>
      <filename>wait.gif</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -3,10 +3,20 @@
     &lt;title&gt;DNA&amp;lt;-&amp;gt;RNA-&amp;gt;protein&lt;/title&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;data.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;logic.js&quot;&gt;&lt;/script&gt;
+
     &lt;script type=&quot;text/javascript&quot; src=&quot;jquery-1.2.6.js&quot;&gt;&lt;/script&gt;
+    &lt;!-- required by clue-tip --&gt;
+    &lt;script type=&quot;text/javascript&quot; src=&quot;jquery.dimensions.js&quot;&gt;&lt;/script&gt;
+    &lt;script type=&quot;text/javascript&quot; src=&quot;jquery.hoverIntent.js&quot;&gt;&lt;/script&gt;
+    &lt;!-- cluetip, flexible tooltips --&gt;
+    &lt;script type=&quot;text/javascript&quot; src=&quot;jquery.cluetip.js&quot;&gt;&lt;/script&gt;
+    &lt;!-- functions for displaying the results of the dna/rna logic stuff --&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;views.js&quot;&gt;&lt;/script&gt;
+
+    &lt;link rel=&quot;stylesheet&quot; href=&quot;jquery.cluetip.css&quot; type=&quot;text/css&quot; /&gt;
     &lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; /&gt;
   &lt;/head&gt;
+
   &lt;body&gt;
     &lt;div id=&quot;info&quot;&gt;
       &lt;h1&gt;Transcription and Translation Tool&lt;/h1&gt;
@@ -22,13 +32,32 @@
     &lt;div id=&quot;content&quot;&gt;
       &lt;div id=&quot;sequences&quot;&gt;
 	&lt;div id=&quot;dna-sequence&quot;&gt;
-	  &lt;h3&gt;DNA Sequence&lt;/h3&gt;
+	  &lt;h3 class=&quot;load-local&quot;
+	      title=&quot;&lt;strong&gt;DNA&lt;/strong&gt; (&lt;strong&gt;D&lt;/strong&gt;eoxyribo&lt;strong&gt;N&lt;/strong&gt;ucleic &lt;strong&gt;A&lt;/strong&gt;cid)&quot;
+	      rel=&quot;#dna-explanation&quot;&gt;DNA Sequence&lt;/a&gt;&lt;/h3&gt;
+	  &lt;div class=&quot;tooltip&quot; id=&quot;dna-explanation&quot;&gt;
+	    &lt;ul&gt;
+	      &lt;li&gt;a permanent copy of genetic information.&lt;/li&gt;
+	      &lt;li&gt;uses &amp;#8220;T&amp;#8221; instead of &amp;#8220;U&amp;#8221;&lt;/li&gt;
+	      &lt;li&gt;no 2' &lt;code&gt;OH&lt;/code&gt; group&lt;/li&gt;
+	      &lt;li&gt;more stable than RNA&lt;/li&gt;
+	      &lt;li&gt;lower error frequency during replication than RNA
+	    &lt;/ul&gt;
+	  &lt;/div&gt;
 	  &lt;p&gt;
 	    &lt;textarea id=&quot;dnaString&quot; rows=&quot;10&quot; cols=&quot;30&quot;&gt;&lt;/textarea&gt;
 	  &lt;/p&gt;
 	&lt;/div&gt;
 	&lt;div id=&quot;rna-sequence&quot;&gt;
-	  &lt;h3&gt;RNA Sequence&lt;/h3&gt;
+	  &lt;h3 class=&quot;load-local&quot;
+	      title=&quot;&lt;strong&gt;RNA&lt;/strong&gt; (&lt;strong&gt;R&lt;/strong&gt;ibo&lt;strong&gt;N&lt;/strong&gt;ucleic &lt;strong&gt;A&lt;/strong&gt;cid)&quot;
+	      rel=&quot;#rna-explanation&quot;&gt;RNA Sequence&lt;/a&gt;&lt;/h3&gt;
+	  &lt;div class=&quot;tooltip&quot; id=&quot;rna-explanation&quot;&gt;
+	    &lt;ul&gt;
+	      &lt;li&gt;messenger RNA (mRNA) is a temporary copy of the gene
+		sequence in which protein is encoded.&lt;/li&gt;
+	    &lt;/ul&gt;
+	  &lt;/div&gt;
 	  &lt;p&gt;
 	    &lt;textarea id=&quot;rnaString&quot; rows=&quot;10&quot; cols=&quot;30&quot;&gt;&lt;/textarea&gt;
 	  &lt;/p&gt;
@@ -82,24 +111,12 @@
 	      &lt;span style=&quot;color: #00d;&quot;&gt;DNA&lt;/span&gt;
 	      (DeoxyriboNucleic Acid)
 	    &lt;/div&gt;
-	    &lt;ul&gt;
-	      &lt;li&gt;a permanent copy of genetic information.&lt;/li&gt;
-	      &lt;li&gt;uses &amp;#8220;T&amp;#8221; instead of &amp;#8220;U&amp;#8221;&lt;/li&gt;
-	      &lt;li&gt;no 2' &lt;code&gt;OH&lt;/code&gt; group&lt;/li&gt;
-	      &lt;li&gt;more stable than RNA&lt;/li&gt;
-	      &lt;li&gt;lower error frequency during replication than RNA
-	    &lt;/ul&gt;
+
 	  &lt;/td&gt;
 	  &lt;td&gt;&lt;!-- empty cell --&gt;&lt;/td&gt;
 	  &lt;td style=&quot;text-align:center;&quot;&gt;
 	    &lt;div class=&quot;nameAbbr&quot;&gt;
-	      &lt;span style=&quot;color: #d00;&quot;&gt;RNA&lt;/span&gt;
-	      (RiboNucleic Acid)
-	    &lt;/div&gt;
-	    &lt;ul&gt;
-	      &lt;li&gt;messenger RNA (mRNA) is a temporary copy of the gene
-		sequence in which protein is encoded.&lt;/li&gt;
-	    &lt;/ul&gt;
+
 	  &lt;/td&gt;
 	  &lt;td&gt;&lt;!-- empty cell --&gt;&lt;/td&gt;
 	  &lt;td&gt;</diff>
      <filename>dna_rna_amino.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,7 @@
+h3 {
+    background-color: #eee;
+}
+
 #info, .nameAbbr, .results, .buttons {
     text-align: center;
 }</diff>
      <filename>style.css</filename>
    </modified>
    <modified>
      <diff>@@ -12,6 +12,15 @@ function view_dna_conversion () {
     $(&quot;#dna-sequence&quot;).addClass(&quot;invalid&quot;);
 }
 
+function view_rna_conversion () {
+  var rna = getRNASequence();
+  displayDNASequence(reverseTranscribe(rna));
+  if (isSequenceCorrectLength(rna))
+    $(&quot;#rna-sequence&quot;).removeClass(&quot;invalid&quot;);
+  else
+    $(&quot;#rna-sequence&quot;).addClass(&quot;invalid&quot;);
+}
+
 function view_amino_acids (results) {
   $(&quot;#aminoAcids&quot;).empty();
   for (var i = 0; i &lt; results.length; i++) {
@@ -53,7 +62,10 @@ function insertAminoAcidTable () {
 }
 
 $(document).ready(function () {
-		    $(&quot;#dnaString&quot;).keyup(function (e) {
-					       view_dna_conversion();
-					     });
-		  });
+  $(&quot;#dnaString&quot;).keyup(function (e) { view_dna_conversion(); });
+  $(&quot;#rnaString&quot;).keyup(function (e) { view_rna_conversion(); });
+  $(&quot;h3.load-local&quot;).cluetip({ local: true, cursor: &quot;pointer&quot;,
+			      hideLocal: false, arrows: true,
+			       attribute: &quot;rel&quot;, sticky: true});
+  $(&quot;div.tooltip&quot;).hide();
+  });</diff>
      <filename>views.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>54057f47f4bfa4c09ef7a2d96e9a21e62f8a8c66</id>
    </parent>
  </parents>
  <author>
    <name>unknown</name>
    <email>omouse@gmail.com</email>
  </author>
  <url>http://github.com/omouse/dna-rna-amino/commit/b216398f23817cf217bf1662e1e4f2b0d3c7c82c</url>
  <id>b216398f23817cf217bf1662e1e4f2b0d3c7c82c</id>
  <committed-date>2008-10-13T11:00:55-07:00</committed-date>
  <authored-date>2008-10-13T11:00:55-07:00</authored-date>
  <message>Added the ClueTip jQuery plugin and made changes to the website to include it</message>
  <tree>dcd5e851ea916ed5bbe15b94314193daedc36bef</tree>
  <committer>
    <name>unknown</name>
    <email>omouse@gmail.com</email>
  </committer>
</commit>
