Team:Goettingen/suplement/scripts

From 2013.igem.org

(Difference between revisions)
m
Line 47: Line 47:
function startslide()
function startslide()
{
{
-
if(picSlide_i >= 3) picSlide_i = 0;
+
if(picSlide_i >= 4) 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 = 3;
+
if (picSlide_i == 0) picSlide_i = 4;
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 19:18, 2 July 2013