Guest User

Untitled

a guest
Mar 23rd, 2026
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | Software | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>KITTY</title>
  7. <link href="/style.css" rel="stylesheet" type="text/css" media="all">
  8. </head>
  9. <body class="background-gallery anotherfont">
  10. <div style="display: flex; justify-content: flex-start;">
  11. <div class="leftpanelgallery anotherlink2">
  12. <h3 class="center">Gallery navigation</h3>
  13. <div>
  14.  
  15. <a href="https://deconstructionstar.neocities.org/gallery/life" class="center">IRL</a>
  16. <br>
  17. <a href="https://deconstructionstar.neocities.org/gallery/mycat" class="center">My cat</a>
  18. <br>
  19. <a href="https://deconstructionstar.neocities.org/gallery/screenshots" class="center">Screenshots</a>
  20. <br>
  21. <a href="https://deconstructionstar.neocities.org/gallery/arts" class="center">Arts</a>
  22. <br>
  23. <a href="https://deconstructionstar.neocities.org/gallery/animescreenshots" class="center">Anime screenshots</a>
  24.  
  25. </div>
  26. </div>
  27.  
  28. <div class="centerpanelgallery">
  29. <h1 class="center">My silly baka cat</h1>
  30. <div class="gallery">
  31.  
  32. <div class="photo-box">
  33. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-25-27.jpg" alt="Photo 1">
  34. <div class="photo-date">koshakspit.jpg</div>
  35. </div>
  36.  
  37. <div class="photo-box">
  38. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-26-37.jpg" alt="Photo 2">
  39. <div class="photo-date">glupiykoshakring.jpg</div>
  40. </div>
  41.  
  42. <div class="photo-box">
  43. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-25-49.jpg" alt="Photo 4">
  44. <div class="photo-date">kitumnosmotrit.jpg</div>
  45. </div>
  46.  
  47. <div class="photo-box">
  48. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-24-56.jpg" alt="Photo 5">
  49. <div class="photo-date">kotikspit2.jpg</div>
  50. </div>
  51.  
  52. <div class="photo-box">
  53. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-26-10.jpg" alt="Photo 6">
  54. <div class="photo-date">kitsit.jpg</div>
  55. </div>
  56.  
  57. <div class="photo-box">
  58. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-25-57.jpg" alt="Photo 7">
  59. <div class="photo-date">snegkotson.jpg</div>
  60. </div>
  61.  
  62.  
  63. <div class="photo-box">
  64. <img src="https://file.garden/abq5NPrpWxJegnuS/3333.jpg" alt="Photo 9">
  65. <div class="photo-date">angrycaat.jpg</div>
  66. </div>
  67.  
  68. <div class="photo-box">
  69. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-24-47.jpg" alt="Photo 10">
  70. <div class="photo-date">catbread.jpg</div>
  71. </div>
  72.  
  73. <div class="photo-box">
  74. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-24-50.jpg" alt="Photo 11">
  75. <div class="photo-date">kotzaoknom.jpg</div>
  76. </div>
  77.  
  78. <div class="photo-box">
  79. <img src="https://file.garden/abq5NPrpWxJegnuS/photo_2026-03-22_18-12-319.jpg" alt="Photo 12">
  80. <div class="photo-date">sigmapurplecat.jpg</div>
  81. </div>
  82.  
  83. </div>
  84.  
  85. </div>
  86. </div>
  87. <div id="photoPopup">
  88. <div id="popupHeader">
  89. <p>gallery.exe</p>
  90. </div>
  91.  
  92. <button class="closeBtn" onclick="closePopup()">×</button>
  93.  
  94. <img id="popupImg" src="">
  95. <div id="popupDate" class="popupDate"></div>
  96. </div>
  97.  
  98.  
  99.  
  100.  
  101. <script>
  102. const gallery = document.querySelectorAll('.photo-box img');
  103. const popup = document.getElementById('photoPopup');
  104. const popupImg = document.getElementById('popupImg');
  105. const popupDate = document.getElementById('popupDate');
  106.  
  107. gallery.forEach(img => {
  108. img.addEventListener('click', () => {
  109. popup.style.display = 'block';
  110. popupImg.src = img.src;
  111. popupDate.textContent = img.parentElement.querySelector('.photo-date').textContent;
  112. });
  113. });
  114.  
  115. function closePopup() {
  116. popup.style.display = 'none';
  117. }
  118. </script>
  119.  
  120.  
  121. </body>
  122. </html>
Advertisement
Add Comment
Please, Sign In to add comment