Team:Valencia Biocampus/Modeling temp2
From 2014.igem.org
(Difference between revisions)
Line 24: | Line 24: | ||
<div class="col-sm-8 center-block"> | <div class="col-sm-8 center-block"> | ||
Type a probability value: <input type="text" name="textbox1" id="textbox1" value="25"/> | Type a probability value: <input type="text" name="textbox1" id="textbox1" value="25"/> | ||
- | <input id="textbox2" type="text" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="25 | + | <input id="textbox2" type="text" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="25" /> |
<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 33: | Line 33: | ||
// With JQuery | // With JQuery | ||
$("#textbox2").slider({ | $("#textbox2").slider({ | ||
- | + | formatter: function(value) { | |
+ | return 'Current value: ' + value; | ||
+ | } | ||
}); | }); | ||
$("#textbox2").on("slide", function(slideEvt) { | $("#textbox2").on("slide", function(slideEvt) { |
Revision as of 18:54, 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