summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfrikanalen/cgi-bin/hide.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/frikanalen/cgi-bin/hide.js b/frikanalen/cgi-bin/hide.js
new file mode 100755
index 0000000..d7b8ec9
--- /dev/null
+++ b/frikanalen/cgi-bin/hide.js
@@ -0,0 +1,26 @@
+function show_cat() {
+ document.getElementById("choose_cat").style.display = "none";
+ document.getElementById("list_cat").style.display = "block";
+ document.getElementById("choose_ed").style.display = "block";
+ document.getElementById("list_ed").style.display = "none";
+ document.getElementById("choose_org").style.display = "block";
+ document.getElementById("list_org").style.display = "none";
+}
+
+function show_ed() {
+ document.getElementById("choose_cat").style.display = "block";
+ document.getElementById("list_cat").style.display = "none";
+ document.getElementById("choose_ed").style.display = "none";
+ document.getElementById("list_ed").style.display = "block";
+ document.getElementById("choose_org").style.display = "block";
+ document.getElementById("list_org").style.display = "none";
+}
+
+function show_org() {
+ document.getElementById("choose_cat").style.display = "block";
+ document.getElementById("list_cat").style.display = "none";
+ document.getElementById("choose_ed").style.display = "block";
+ document.getElementById("list_ed").style.display = "none";
+ document.getElementById("choose_org").style.display = "none";
+ document.getElementById("list_org").style.display = "block";
+} \ No newline at end of file