aboutsummaryrefslogtreecommitdiff
path: root/build/js
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2023-12-15 11:23:21 +0000
committerAdam Stück <adam@adast.dk>2023-12-15 12:00:01 +0000
commit57abab7d0c27161e909d07498c86012c82db246e (patch)
treed85b423672f55a3287cd1fc10fffa150e5500b94 /build/js
parentf205d2e8787e58b73576245f03d44b7d791c471b (diff)
overhaul: switch from ssg to barf
- simplify and polish most pages - add /colophon, /now, /contact - drop /resume-da - drop javascript - patch barf to create symlinks for /rss.xml and /feed to /atom.xml
Diffstat (limited to 'build/js')
-rw-r--r--build/js/showhide.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/build/js/showhide.js b/build/js/showhide.js
deleted file mode 100644
index afc9c06..0000000
--- a/build/js/showhide.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-http://www.tutorialhelpdesk.com/tutorials/web-development/javascript/how-to-show-hide-a-dhtml-div-using-onclick()-event.html
-*/
-
-function ShowHide(elementId)
-{
- var element = document.getElementById(elementId);
- if(element.style.display != "block")
- {
- element.style.display = "block";
- }
- else
- {
- element.style.display = "none";
- }
-}
-function UpdateText(element)
-{
- if(element.innerHTML.indexOf("Hide") == -1)
- {
- element.innerHTML = "Hide Abstract";
- }
- else
- {
- element.innerHTML = "Abstract";
- }
-}