Added Team

This commit is contained in:
Michał Gdula 2022-06-09 01:32:36 +01:00
parent 74f0f205d5
commit e78be306e0
14 changed files with 133 additions and 29 deletions

14
script.js Normal file
View file

@ -0,0 +1,14 @@
document.querySelectorAll(".gallery div img").forEach(image =>{
image.onclick = () =>{
document.querySelector(".fullScreenImage").style.display= "block";
document.querySelector(".fullScreenImage img").src = image.getAttribute("src");
document.querySelector("html").style.overflow= "hidden";
}
});
document.querySelector(".fullScreenImage span").onclick = () =>{
document.querySelector(".fullScreenImage").style.display= "none";
document.querySelector("html").style.overflow= "auto";
}