From cd9aada1c90b779f45453efefcfbda84f565adef Mon Sep 17 00:00:00 2001 From: initframs Date: Sun, 8 Nov 2026 08:39:06 -0800 Subject: first commit --- cow.gif | Bin 0 -> 29953 bytes explode.gif | Bin 0 -> 50165 bytes index.html | 47 ++++++++++++++++++++++++++++++ script.js | 44 ++++++++++++++++++++++++++++ style.css | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++ typingfast.gif | Bin 0 -> 633046 bytes underconstruction.gif | Bin 0 -> 89525 bytes 7 files changed, 170 insertions(+) create mode 100644 cow.gif create mode 100644 explode.gif create mode 100644 index.html create mode 100644 script.js create mode 100644 style.css create mode 100644 typingfast.gif create mode 100644 underconstruction.gif diff --git a/cow.gif b/cow.gif new file mode 100644 index 0000000..4dedbfb Binary files /dev/null and b/cow.gif differ diff --git a/explode.gif b/explode.gif new file mode 100644 index 0000000..f437323 Binary files /dev/null and b/explode.gif differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..9c877c9 --- /dev/null +++ b/index.html @@ -0,0 +1,47 @@ + + + + + + + initframs.dev + + + + +
+ Band conditions are in the format day/night +
+
+ Last updated: 11/7/2026 +
+
+ You are visitor number 12345 +
+
+ + +

initframs.dev

+
+ +
+ + CURRENT TIME: LOADING... +   ***   + TODAY'S DATE: LOADING... +   ***   + SOLAR FLUX INDEX: LOADING... +   ***   + 80M BAND: LOADING... +   ***   + 40M BAND: LOADING... +   ***   + 20M BAND: LOADING... +   ***   + 10M BAND: LOADING... +   ***   + + + + + \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..a25125e --- /dev/null +++ b/script.js @@ -0,0 +1,44 @@ +function updateClock() { + const now = new Date(); + + document.querySelectorAll("#clock").forEach(el => { + el.textContent = now.toLocaleTimeString(); + }); + + document.querySelectorAll("#date").forEach(el => { + el.textContent = now.toLocaleDateString(); + }); +} + +function updateMarqueeApis() { + fetch("https://www.mapforham.com/hf-propagation/data/solar.json") + .then(response => response.json()) + .then(data => { + console.log("Got data:", data); + console.log(data.solar_flux); + + document.querySelectorAll("#sfi").forEach(el => { + el.textContent = data.solar_flux; + }); + document.querySelectorAll("#band40").forEach(el => { + el.textContent = data.bands_detail[3].day + "/" + data.bands_detail[3].night; + }); + document.querySelectorAll("#band20").forEach(el => { + el.textContent = data.bands_detail[5].day + "/" + data.bands_detail[5].night; + }); + document.querySelectorAll("#band80").forEach(el => { + el.textContent = data.bands_detail[1].day + "/" + data.bands_detail[1].night; + }); + document.querySelectorAll("#band10").forEach(el => { + el.textContent = data.bands_detail[9].day + "/" + data.bands_detail[9].night; + }); + }) + .catch(error => { + console.error("api error:", error); + }); +} + +updateClock(); +updateMarqueeApis(); +setInterval(updateClock, 1000); +setInterval(updateMarqueeApis, 60000); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..949f9f6 --- /dev/null +++ b/style.css @@ -0,0 +1,79 @@ +html, +body { + background-color: lime; + text-align: center; +} + +#title { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + margin-bottom: 40px; +} + +#gif { + width: 128px; + margin: 20px; +} + +h1 { + color: blue; + font-size: 80px; + margin: 20px; +} + +marquee { + width: 100%; + color: red; + font-size: 30px; + font-weight: bold; +} + +#counter-big { + position: absolute; + top: 40px; + left: 80px; + font-size: 40px; +} + +#counter-big span { + display: inline-block; + background-color: black; + color: yellow; + margin-top: 10px; + padding: 10px; + font-size: 50px; +} + +#bandconditionsnotice { + font-size: 20px; +} + +#bandconditionsnotice span { + color: #ff00ff; + font-weight: bold; + font-size: 30px; +} + +blink { + animation: blink 1s step-start infinite; +} + +@keyframes blink { + 0% { + visibility: visible; + } + + 50% { + visibility: visible; + } + + 50% { + visibility: hidden; + } + + 75% { + visibility: visible; + } +} \ No newline at end of file diff --git a/typingfast.gif b/typingfast.gif new file mode 100644 index 0000000..b1e34ab Binary files /dev/null and b/typingfast.gif differ diff --git a/underconstruction.gif b/underconstruction.gif new file mode 100644 index 0000000..2e10508 Binary files /dev/null and b/underconstruction.gif differ -- cgit v1.2.3