Difference between revisions of "Team:UPMC-Paris"

Line 27: Line 27:
 
     if (slideIndex > x.length) {slideIndex = 1}  
 
     if (slideIndex > x.length) {slideIndex = 1}  
 
     x[slideIndex-1].style.display = "flex";
 
     x[slideIndex-1].style.display = "flex";
x[slideIndex-1].style.z-index = "-1";
+
x[slideIndex-1].style.zIndex = "-1";
 +
x[slideIndex-1].style.position = "absolute";
 
     setTimeout(carousel, 2000);  
 
     setTimeout(carousel, 2000);  
 
}
 
}

Revision as of 06:35, 19 October 2016