-
Notifications
You must be signed in to change notification settings - Fork 0
/
crashes.html
80 lines (77 loc) · 2.8 KB
/
crashes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Essential confirmed to be cause of crashes | NotEssential Gallery</title>
<link rel="stylesheet" type="text/css" href="./css/gallery.css">
</head>
<body>
<b>Gallery: Essential confirmed to be cause of issues</b>
<div class="gallery">
<figure>
<img src="./images/image1.png" alt="Crash image 1" onclick="openModal(this.src)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image2.png" alt="Crash image 2" onclick="openModal(this.src)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image3.png" alt="Crash image 3" onclick="openModal(this.src)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image4.png" alt="Crash image 4" onclick="openModal(this.src,)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image5.png" alt="Crash image 5" onclick="openModal(this.src)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image6.png" alt="Crash image 6" onclick="openModal(this.src)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image7.png" alt="Crash image 7" onclick="openModal(this.src)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image8.png" alt="Crash image 8" onclick="openModal(this.src)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image9.png" alt="Crash image 9" onclick="openModal(this.src)">
<figcaption>Provided by KTrain5369</figcaption>
</figure>
<figure>
<img src="./images/image10.png" alt="Crash image 10" onclick="openModal(this.src)">
<figcaption>Provided by maskers</figcaption>
</figure>
<figure>
<img src="./images/image11.png" alt="Crash image 11" onclick="openModal(this.src)">
<figcaption>Provided by blryface</figcaption>
</figure>
</div>
<div id="imgModal" class="modal" onclick="closeModal()">
<span class="modal-close">×</span>
<img id="modalImage">
</div>
<script>
// Function to open the modal and pass the image and caption
function openModal(imgSrc, captionText) {
const modal = document.getElementById("imgModal");
const modalImg = document.getElementById("modalImage");
const modalCaption = document.getElementById("modalCaption");
modal.style.display = "flex";
modalImg.src = imgSrc;
modalCaption.innerText = captionText;
}
// Function to close the modal
function closeModal() {
document.getElementById("imgModal").style.display = "none";
}
</script>
</body>
</html>