summaryrefslogtreecommitdiff
path: root/themes/default/plinth.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/plinth.js')
-rw-r--r--themes/default/plinth.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/themes/default/plinth.js b/themes/default/plinth.js
new file mode 100644
index 0000000..dfe1443
--- /dev/null
+++ b/themes/default/plinth.js
@@ -0,0 +1,16 @@
+function toggle_visibility(id) {
+ var d = document.getElementById(id);
+ if(d.style.display == 'block')
+ d.style.display = 'none';
+ else
+ d.style.display = 'block';
+}
+
+function show(id) {
+ var d = document.getElementById(id);
+ d.style.display = 'block';
+}
+
+function hide(id) {
+ document.getElementById(id).style.display = 'none';
+}