KevinVergara (Talk | contribs) |
KevinVergara (Talk | contribs) |
||
Line 255: | Line 255: | ||
<li class="slide">Slide 6</li> | <li class="slide">Slide 6</li> | ||
</ul> | </ul> | ||
− | <button class="controls" id=" | + | <button class="controls" id="pauseKmC">Pause</button> |
− | <button class="controls" id=" | + | <button class="controls" id="previousKmC">Previous</button> |
− | <button class="controls" id=" | + | <button class="controls" id="nextKmC">Next</button> |
Line 285: | Line 285: | ||
var playing = true; | var playing = true; | ||
− | var pauseButton = document.getElementById(' | + | var pauseButton = document.getElementById('pauseKmC'); |
function pauseSlideshow() { | function pauseSlideshow() { | ||
Line 307: | Line 307: | ||
}; | }; | ||
− | var next = document.getElementById(' | + | var next = document.getElementById('nextKmC'); |
− | var previous = document.getElementById(' | + | var previous = document.getElementById('previousKmC'); |
next.onclick = function() { | next.onclick = function() { | ||
Line 320: | Line 320: | ||
</script> | </script> | ||
+ | <script> | ||
+ | var slides = document.querySelectorAll('#KmCalvin .slide'); | ||
+ | var currentSlide = 0; | ||
+ | var slideInterval = setInterval(nextSlide,2000); | ||
+ | |||
+ | function nextSlide() { | ||
+ | goToSlide(currentSlide+1); | ||
+ | } | ||
+ | |||
+ | function previousSlide() { | ||
+ | goToSlide(currentSlide-1); | ||
+ | } | ||
+ | |||
+ | function goToSlide(n) { | ||
+ | slides[currentSlide].className = 'slide'; | ||
+ | currentSlide = (n+slides.length)%slides.length; | ||
+ | slides[currentSlide].className = 'slide showing'; | ||
+ | } | ||
+ | |||
+ | var playing = true; | ||
+ | var pauseButton = document.getElementById('pauseKmC'); | ||
+ | |||
+ | function pauseSlideshow() { | ||
+ | pauseButton.innerHTML = 'Play'; | ||
+ | playing = false; | ||
+ | clearInterval(slideInterval); | ||
+ | } | ||
+ | |||
+ | function playSlideshow() { | ||
+ | pauseButton.innerHTML = 'Pause'; | ||
+ | playing = true; | ||
+ | slideInterval = setInterval(nextSlide,3000); | ||
+ | } | ||
+ | |||
+ | pauseButton.onclick = function() { | ||
+ | if(playing) { | ||
+ | pauseSlideshow(); | ||
+ | } else { | ||
+ | playSlideshow(); | ||
+ | } | ||
+ | }; | ||
+ | |||
+ | var next = document.getElementById('nextKmC'); | ||
+ | var previous = document.getElementById('previousKmC'); | ||
+ | |||
+ | next.onclick = function() { | ||
+ | pauseSlideshow(); | ||
+ | nextSlide(); | ||
+ | }; | ||
+ | previous.onclick = function() { | ||
+ | pauseSlideshow(); | ||
+ | previousSlide(); | ||
+ | }; | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> | ||
{{:Team:UChile_OpenBio-CeBiB/Template/footer}} | {{:Team:UChile_OpenBio-CeBiB/Template/footer}} |
Revision as of 14:30, 1 November 2017
Results
From the previous procedures, we obtained the following results:
Phase 1: The First Approach
Metabolic Pathway
Genetic Pathway
Metabolic Pathway, B12 Absent
Metabolic Pathway, B12 Present
Genetic Pathway, B12 Absent
Genetic Pathway, B12 Present
Phase 2: Sensitivity Analysis
G6P Production from Calvin Cycle
jdbhjgkgfs