From 898b52edcb47bcb3e9d6106e74ca73e74ea01e70 Mon Sep 17 00:00:00 2001 From: sillylaird Date: Thu, 3 Sep 2026 00:33:59 +0000 Subject: import live www.sillylaird.ca webroot --- load-vertical-links.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 load-vertical-links.js (limited to 'load-vertical-links.js') diff --git a/load-vertical-links.js b/load-vertical-links.js new file mode 100644 index 0000000..ed2aa0c --- /dev/null +++ b/load-vertical-links.js @@ -0,0 +1,11 @@ +// load-vertical-links.js +document.addEventListener("DOMContentLoaded", () => { + fetch("https://cdn.sillylaird.ca/vertical-links.html") + .then(r => r.text()) + .then(html => { + document.getElementById("vertical-links-container").innerHTML = html; + }) + .catch(() => { + document.getElementById("vertical-links-container").textContent = "Failed to load menu."; + }); +}); -- cgit v1.2.3