Corrected JS

This commit is contained in:
theo1 2020-06-01 13:43:08 +02:00
parent 0e6df573c2
commit 76fbd895ec
2 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ function showSlide(id){
document.getElementById(id).style.display = "block"
// change persistent elements' opacity
document.getElementsByTagName("header")[0].style.opacity = 0.2
document.getElementById("about").style.opacity = 0.2
document.getElementById("download").style.opacity = 0.2
document.getElementById("a-propos").style.opacity = 0.2
document.getElementById("telecharger").style.opacity = 0.2
goToTop()
}

View File

@ -27,8 +27,8 @@ function showSlide(id){
document.getElementById(id).style.display = "block"
// change persistent elements' opacity
document.getElementsByTagName("header")[0].style.opacity = 0.2
document.getElementById("about").style.opacity = 0.2
document.getElementById("download").style.opacity = 0.2
document.getElementById("a-propos").style.opacity = 0.2
document.getElementById("telecharger").style.opacity = 0.2
goToTop()
}