Revision 40e7d5d9
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
js/switchmenuframe.js | ||
---|---|---|
1 |
var vSwitch_Menu = 0;
|
|
1 |
var vSwitch_Menu = 1;
|
|
2 | 2 |
function Switch_Menu() { |
3 | 3 |
vSwitch_Menu=!vSwitch_Menu; |
4 | 4 |
SetMenuFolded(vSwitch_Menu); |
5 |
$.cookie('html-menu-folded', vSwitch_Menu); |
|
6 | 5 |
} |
7 | 6 |
function SetMenuFolded(on) { |
8 | 7 |
if (on) { |
... | ... | |
14 | 13 |
} |
15 | 14 |
} |
16 | 15 |
$(function(){ |
17 |
vSwitch_Menu = $.cookie('html-menu-folded'); |
|
18 | 16 |
SetMenuFolded(vSwitch_Menu); |
19 | 17 |
}) |
Auch abrufbar als: Unified diff
cookie magic aus js/switchmenuframe.js entfernt, funktioniert nicht richtig