Team:LMU-Munich/Primer Design/Design Primers
From 2011.igem.org
(Difference between revisions)
m (mathias: added na^+ concentration) |
(mathias: some fun with the entropy/na^+ concentration controls) |
||
Line 27: | Line 27: | ||
} | } | ||
- | + | .rightbox input, .rightbox select { | |
float: right; | float: right; | ||
width: 150px; | width: 150px; | ||
Line 65: | Line 65: | ||
<div class="rightbox" style="width: 290px;"> | <div class="rightbox" style="width: 290px;"> | ||
<h2>Options</h2> | <h2>Options</h2> | ||
- | Melting point: <label><input type="radio" name="melting" value="wallace" checked="checked" />Wallace</label> <label><input type="radio" name="melting" value="entropy" />Entropy based</label> | + | Melting point:<div style="width:150px; float:right"><label style="clear: none;"><input type="radio" name="melting" value="wallace" checked="checked" style="float: none; width: auto" id="wallace" />Wallace</label><label style="clear: none;"><input type="radio" name="melting" value="entropy" style="float: none; width: auto;" id="entropy" />Entropy based</label></div> |
- | <label>Na<sup>+</sup> concentration: <input type="text" name="na" value="0.8" /></label> | + | <label>Na<sup>+</sup> concentration: <input type="text" name="na" id="na" value="0.8" /></label> |
+ | <script type="text/javascript"> | ||
+ | document.getElementById('entropy').onclick = function() { | ||
+ | document.getElementById('na').disabled = false; | ||
+ | } | ||
+ | document.getElementById('wallace').onclick = function() { | ||
+ | document.getElementById('na').disabled = true; | ||
+ | } | ||
+ | document.getElementById('na').disabled = true; | ||
+ | </script> | ||
</div> | </div> | ||
<div class="rightbox" style="width: 290px;"> | <div class="rightbox" style="width: 290px;"> |
Revision as of 19:00, 9 September 2011