Seitliches HTML-Menü lässt sich ein- und ausklappen. (update)
authorSven Donath <lxo@dexo.de>
Thu, 19 Aug 2010 17:04:45 +0000 (19:04 +0200)
committerSven Donath <lxo@dexo.de>
Thu, 19 Aug 2010 17:04:45 +0000 (19:04 +0200)
Sorry, Datei an falscher Stelle gewesen.

bin/mozilla/switchmenuframe.js [deleted file]
js/switchmenuframe.js [new file with mode: 0644]

diff --git a/bin/mozilla/switchmenuframe.js b/bin/mozilla/switchmenuframe.js
deleted file mode 100644 (file)
index 0399a2e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/* This is used in bin/mozilla/kopf.pl to switch the HTML sidemenu on/off
-   2010, Sven Donath, lxo@dexo.de  */
-
-var vSwitch_Menu = 1;
-
-function Switch_Menu(framesize)
-{
-       if (vSwitch_Menu)
-       {
-               vSwitch_Menu=false;
-                parent.document.getElementById('menuframe').setAttribute('cols','30,*')
-       }
-       else
-       {
-               vSwitch_Menu=true;
-                               framesize = framesize + ',*';
-                parent.document.getElementById('menuframe').setAttribute('cols',framesize);
-    }
-       return;
-}
diff --git a/js/switchmenuframe.js b/js/switchmenuframe.js
new file mode 100644 (file)
index 0000000..0399a2e
--- /dev/null
@@ -0,0 +1,20 @@
+/* This is used in bin/mozilla/kopf.pl to switch the HTML sidemenu on/off
+   2010, Sven Donath, lxo@dexo.de  */
+
+var vSwitch_Menu = 1;
+
+function Switch_Menu(framesize)
+{
+       if (vSwitch_Menu)
+       {
+               vSwitch_Menu=false;
+                parent.document.getElementById('menuframe').setAttribute('cols','30,*')
+       }
+       else
+       {
+               vSwitch_Menu=true;
+                               framesize = framesize + ',*';
+                parent.document.getElementById('menuframe').setAttribute('cols',framesize);
+    }
+       return;
+}