From: Sven Donath Date: Thu, 19 Aug 2010 17:04:45 +0000 (+0200) Subject: Seitliches HTML-Menü lässt sich ein- und ausklappen. (update) X-Git-Tag: release-2.6.2beta1~175 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f28c12f11051077c53455e3801ba89dc860768be;p=kivitendo-erp.git Seitliches HTML-Menü lässt sich ein- und ausklappen. (update) Sorry, Datei an falscher Stelle gewesen. --- diff --git a/bin/mozilla/switchmenuframe.js b/bin/mozilla/switchmenuframe.js deleted file mode 100644 index 0399a2ebe..000000000 --- a/bin/mozilla/switchmenuframe.js +++ /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 index 000000000..0399a2ebe --- /dev/null +++ b/js/switchmenuframe.js @@ -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; +}