Team:Goettingen/suplement/scripts

From 2013.igem.org

(Difference between revisions)
Line 47: Line 47:
function startslide()
function startslide()
{
{
-
if(picSlide_i >= 4) picSlide_i = 0;
+
if(picSlide_i >= 5) picSlide_i = 0;
fadeInOut();
fadeInOut();
$("#resume").hide();
$("#resume").hide();
Line 81: Line 81:
function go2left(){
function go2left(){
stoptimer();
stoptimer();
-
if (picSlide_i == 0) picSlide_i = 4;
+
if (picSlide_i == 0) picSlide_i = 5;
picSlide_i = picSlide_i - 2;
picSlide_i = picSlide_i - 2;
if (picSlide_i < 0) picSlide_i =2;
if (picSlide_i < 0) picSlide_i =2;

Revision as of 20:51, 1 October 2013