diff --git a/index.html b/index.html index e5fed4d..0753e68 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,5 @@ +
+

Klick auf das TNT

+
+
+
+

- +

@@ -91,6 +125,22 @@ This Website was developed by TheErrorExe for Blockattack. TheErrorExe is and wi } }); }); + + // TNT-Trigger und Animationsfunktion + function triggerTNT() { + const tntBlock = document.getElementById('tnt'); + const tntGif = document.getElementById('tntGif'); + + // Zeige das GIF + tntGif.style.display = 'block'; + tntBlock.style.display = 'none'; + + // Nach 5 Sekunden das GIF verschwinden lassen + setTimeout(() => { + tntGif.style.display = 'none'; + document.body.classList.add('collapsed'); // Seite "fällt zusammen" + }, 5000); + }