Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>KITTY</title>
- <link href="/style.css" rel="stylesheet" type="text/css" media="all">
- </head>
- <body class="background-gallery anotherfont">
- <div style="display: flex; justify-content: flex-start;">
- <div class="leftpanelgallery anotherlink2">
- <h3 class="center">Gallery navigation</h3>
- <div>
- <a href="https://deconstructionstar.neocities.org/gallery/life" class="center">IRL</a>
- <br>
- <a href="https://deconstructionstar.neocities.org/gallery/mycat" class="center">My cat</a>
- <br>
- <a href="https://deconstructionstar.neocities.org/gallery/screenshots" class="center">Screenshots</a>
- <br>
- <a href="https://deconstructionstar.neocities.org/gallery/arts" class="center">Arts</a>
- <br>
- <a href="https://deconstructionstar.neocities.org/gallery/animescreenshots" class="center">Anime screenshots</a>
- </div>
- </div>
- <div class="centerpanelgallery">
- <h1 class="center">My silly baka cat</h1>
- <div class="gallery">
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-25-27.jpg" alt="Photo 1">
- <div class="photo-date">koshakspit.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-26-37.jpg" alt="Photo 2">
- <div class="photo-date">glupiykoshakring.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-25-49.jpg" alt="Photo 4">
- <div class="photo-date">kitumnosmotrit.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-24-56.jpg" alt="Photo 5">
- <div class="photo-date">kotikspit2.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-26-10.jpg" alt="Photo 6">
- <div class="photo-date">kitsit.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-25-57.jpg" alt="Photo 7">
- <div class="photo-date">snegkotson.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/3333.jpg" alt="Photo 9">
- <div class="photo-date">angrycaat.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-24-47.jpg" alt="Photo 10">
- <div class="photo-date">catbread.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-24-50.jpg" alt="Photo 11">
- <div class="photo-date">kotzaoknom.jpg</div>
- </div>
- <div class="photo-box">
- <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-12-319.jpg" alt="Photo 12">
- <div class="photo-date">sigmapurplecat.jpg</div>
- </div>
- </div>
- </div>
- </div>
- <div id="photoPopup">
- <div id="popupHeader">
- <p>gallery.exe</p>
- </div>
- <button class="closeBtn" onclick="closePopup()">×</button>
- <img id="popupImg" src="">
- <div id="popupDate" class="popupDate"></div>
- </div>
- <script>
- const gallery = document.querySelectorAll('.photo-box img');
- const popup = document.getElementById('photoPopup');
- const popupImg = document.getElementById('popupImg');
- const popupDate = document.getElementById('popupDate');
- gallery.forEach(img => {
- img.addEventListener('click', () => {
- popup.style.display = 'block';
- popupImg.src = img.src;
- popupDate.textContent = img.parentElement.querySelector('.photo-date').textContent;
- });
- });
- function closePopup() {
- popup.style.display = 'none';
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment