Revision b70da193
Von Sven Schöling vor fast 9 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
480 | 480 |
jquery jquery-ui jquery.cookie jquery.checkall jquery.download |
481 | 481 |
jquery/jquery.form jquery/fixes client_js |
482 | 482 |
jquery/jquery.tooltipster.min |
483 |
common part_selection switchmenuframe
|
|
483 |
common part_selection |
|
484 | 484 |
), "jquery/ui/i18n/jquery.ui.datepicker-$::myconfig{countrycode}"); |
485 | 485 |
|
486 | 486 |
$self->{favicon} ||= "favicon.ico"; |
SL/Layout/MenuLeft.pm | ||
---|---|---|
22 | 22 |
sub javascripts { |
23 | 23 |
qw( |
24 | 24 |
js/jquery.cookie.js |
25 |
js/switchmenuframe.js |
|
26 | 25 |
); |
27 | 26 |
} |
28 | 27 |
|
js/switchmenuframe.js | ||
---|---|---|
1 |
var vSwitch_Menu = 1; |
|
2 |
function Switch_Menu() { |
|
3 |
vSwitch_Menu=!vSwitch_Menu; |
|
4 |
SetMenuFolded(vSwitch_Menu); |
|
5 |
} |
|
6 |
function SetMenuFolded(on) { |
|
7 |
if (on) { |
|
8 |
$('#html-menu').removeClass('folded'); |
|
9 |
$('#content').removeClass('folded'); |
|
10 |
} else { |
|
11 |
$('#html-menu').addClass('folded'); |
|
12 |
$('#content').addClass('folded'); |
|
13 |
} |
|
14 |
} |
|
15 |
$(function(){ |
|
16 |
SetMenuFolded(vSwitch_Menu); |
|
17 |
}) |
Auch abrufbar als: Unified diff
js/switchmenuframe.js entfernt
seit dem letzten Layout rework ist das nicht mehr benutzt,
also weg damit