diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-01-11 17:25:38 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-01-11 17:25:38 +0000 |
commit | 9b6e7c30bc1687c10c49413871588d17baf1b94f (patch) | |
tree | 9eb286a32ff9956ec6cf36b431d7cb468ceafa44 | |
parent | 9682f363f3b63dbacbebea96be59ab9ff3fc20b1 (diff) |
Ny fil.
-rwxr-xr-x | frikanalen/cgi-bin/hide.js | 26 |
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 |