You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
949 B
JavaScript

const BuchimgaePic = document.getElementById("Buchimgaepic");
const Buchimgae = document.getElementById("Buchimgae");
const BuchimgaeExpl = document.getElementById("expl");
const BuchimgaeIllu = document.getElementById("illu");
const BuchimgaePhoto = document.getElementById("photo");
Buchimgae.addEventListener("click", function () {
Buchimgae.style.display = "none";
BuchimgaePic.style.display = "inline-block";
BuchimgaeExpl.style.display = "inline-block";
});
BuchimgaePic.addEventListener("click", function () {
BuchimgaePic.style.display = "none";
BuchimgaeExpl.style.display = "none";
Buchimgae.style.display = "inline-block";
});
BuchimgaeIllu.addEventListener("click", function () {
BuchimgaeIllu.style.display = "none";
BuchimgaePhoto.style.display = "inline-block";
});
BuchimgaePhoto.addEventListener("click", function () {
BuchimgaePhoto.style.display = "none";
BuchimgaeIllu.style.display = "inline-block";
});