mirror of
https://github.com/Fluffy-Bean/GameExpo.git
synced 2025-06-07 02:43:12 +00:00
:3
This commit is contained in:
parent
e153e5bfb3
commit
de7a54195e
9 changed files with 62 additions and 30 deletions
19
script.js
19
script.js
|
@ -1,14 +1,7 @@
|
|||
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";
|
||||
document.querySelector(".manualError").onclick = () =>{
|
||||
document.querySelector(".manualError").style.top= "5em";
|
||||
document.querySelector(".manualError").style.width= "160px";
|
||||
document.querySelector(".manualError").style.height= "90px";
|
||||
}
|
||||
|
||||
console.log("UwU")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue