Team:Valencia Biocampus/Modeling temp2
From 2014.igem.org
(Difference between revisions)
Line 23: | Line 23: | ||
<div class="col-sm-8 center-block"> | <div class="col-sm-8 center-block"> | ||
- | Type a probability value: <input type="text" name="textbox1" id=" | + | Type a probability value: <input type="text" name="textbox1" id="textbox1" value=""/> |
- | <input id=" | + | <input id="textbox2" type="text" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="25" data-slider-orientation="vertical"/> |
<input type="submit" name="button" id="button1" onclick="CE()" value="generate chain" /> | <input type="submit" name="button" id="button1" onclick="CE()" value="generate chain" /> | ||
Line 32: | Line 32: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
// With JQuery | // With JQuery | ||
- | $("# | + | $("#textbox2").slider({ |
reversed : true | reversed : true | ||
}); | }); | ||
- | + | $("#textbox2").on("slide", function(slideEvt) { | |
+ | $("#textbox1").val(slideEvt.value); | ||
+ | }); | ||
</script> | </script> |
Revision as of 17:41, 13 October 2014
Modeling
Red
Type a probability value:
Calculated chain is:
Calculated chain is:
Orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
orange orange orange orange orange
Yellow
yellow yellow yellow yellow yellow
Green
green green green green green
Blue
blue blue blue blue blue