From 2d18d76e9a0f081a760e3a00e46659d793ceebd6 Mon Sep 17 00:00:00 2001 From: AlmightyMiau Date: Thu, 5 Jun 2025 15:46:50 -0700 Subject: CBox chat box on the aside 6/5/2025 --- art.html | 16 ++++++++++++++-- cats.html | 16 ++++++++++++++-- factorio.html | 16 ++++++++++++++-- index.html | 32 ++++++++++++++++++-------------- silly.html | 16 ++++++++++++++-- styles.css | 2 +- 6 files changed, 75 insertions(+), 23 deletions(-) diff --git a/art.html b/art.html index bdf9478..dfe8cc9 100644 --- a/art.html +++ b/art.html @@ -27,6 +27,14 @@ document.getElementById("buttons").style.display = "none"; } } + function hideChat() { + let status = document.getElementById("chatbox").style.display; + if (status === "none") { + document.getElementById("chatbox").style.display = "block"; + } else { + document.getElementById("chatbox").style.display = "none"; + } + } @@ -65,7 +73,7 @@ diff --git a/cats.html b/cats.html index 0d4d353..84a0618 100644 --- a/cats.html +++ b/cats.html @@ -27,6 +27,14 @@ document.getElementById("buttons").style.display = "none"; } } + function hideChat() { + let status = document.getElementById("chatbox").style.display; + if (status === "none") { + document.getElementById("chatbox").style.display = "block"; + } else { + document.getElementById("chatbox").style.display = "none"; + } + } @@ -45,7 +53,7 @@ diff --git a/factorio.html b/factorio.html index 2295b9f..d0d240d 100644 --- a/factorio.html +++ b/factorio.html @@ -27,6 +27,14 @@ document.getElementById("buttons").style.display = "none"; } } + function hideChat() { + let status = document.getElementById("chatbox").style.display; + if (status === "none") { + document.getElementById("chatbox").style.display = "block"; + } else { + document.getElementById("chatbox").style.display = "none"; + } + } @@ -187,7 +195,7 @@ diff --git a/index.html b/index.html index 1725fb0..28b3602 100644 --- a/index.html +++ b/index.html @@ -12,20 +12,12 @@ @@ -48,6 +40,14 @@
  Website Journal
+
+
6/5/2025
+

+ I added a chat box on the aside -->
+ you can message on it without signing up or anything.
+ Say whatever :3! +

+
6/4/2025
@@ -269,7 +269,7 @@
diff --git a/silly.html b/silly.html index a580a15..d287576 100644 --- a/silly.html +++ b/silly.html @@ -27,6 +27,14 @@ document.getElementById("buttons").style.display = "none"; } } + function hideChat() { + let status = document.getElementById("chatbox").style.display; + if (status === "none") { + document.getElementById("chatbox").style.display = "block"; + } else { + document.getElementById("chatbox").style.display = "none"; + } + } function sillyBackground(argument) { remember(argument); let image = document.body.style.backgroundImage @@ -113,7 +121,7 @@ diff --git a/styles.css b/styles.css index 0f413ea..28e614a 100644 --- a/styles.css +++ b/styles.css @@ -200,7 +200,7 @@ button { padding-right: 10px; } - nav ul>ul, #buttons, nav div a, nav div br, nav br { + nav ul>ul, #buttons, #buttonsHeader, #chatbox, #chatboxHeader, nav div a, nav div br, nav br { display: none; } -- cgit v1.2.3