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. | + | 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
❮
❯