mirror of
https://github.com/Fluffy-Bean/GameExpo.git
synced 2025-05-19 09:54:59 +00:00
Added Team
This commit is contained in:
parent
74f0f205d5
commit
e78be306e0
14 changed files with 133 additions and 29 deletions
14
script.js
Normal file
14
script.js
Normal 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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue