aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'include/main.js')
-rw-r--r--include/main.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/main.js b/include/main.js
new file mode 100644
index 000000000..4fb92c774
--- /dev/null
+++ b/include/main.js
@@ -0,0 +1,12 @@
+
+ function openClose(theID) {
+ if(document.getElementById(theID).style.display == "block") {
+ document.getElementById(theID).style.display = "none"
+ }
+ else {
+ document.getElementById(theID).style.display = "block"
+ }
+ }
+ function openMenu(theID) {
+ document.getElementById(theID).style.display = "block"
+ }