From 742747685020559197967b25c7d2f424fb277a7f Mon Sep 17 00:00:00 2001 From: TheErrorExe <161362055+TheErrorExe@users.noreply.github.com> Date: Mon, 6 Jan 2025 19:23:07 +0100 Subject: [PATCH] Update index.html --- index.html | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-) 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); + }