diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-01 05:35:34 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-01 05:35:34 +0000 |
commit | 77f23e8cb7af1caaa1122e712d721133bc71bc4b (patch) | |
tree | e922968e9df07c6044f671833067e09940449500 /UI/menu_expand.html | |
parent | 26ec8246f92e47cd62520b0cd83819c077713f32 (diff) |
Expanding menu now works with or without Javascript.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1481 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/menu_expand.html')
-rw-r--r-- | UI/menu_expand.html | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/UI/menu_expand.html b/UI/menu_expand.html index daf31007..7a4ef447 100644 --- a/UI/menu_expand.html +++ b/UI/menu_expand.html @@ -48,16 +48,26 @@ ?>?login=<?lsmb login ?>&<?lsmb FOREACH arg IN item.args ?><?lsmb arg - ?>&<?lsmb END ?>" - target = "main_window" - onclick="return <?lsmb IF item.menu - ?>SwitchMenu('sub_<?lsmb item.id ?>')<?lsmb END ?>" + ?><?lsmb END + ?><?lsmb IF item.menu + ?>&id=<?lsmb item.id + ?>&open=<?lsmb open + ?><?lsmb END ?>" + <?lsmb IF item.module ?> + target = "main_window" + <?lsmb END ?> + <?lsmb IF item.menu ?> + onclick="return SwitchMenu('sub_<?lsmb item.id ?>')" + <?lsmb END ?> class = "<?lsmb IF item.module ?>Menu<?lsmb ELSE ?>Item<?lsmb END ?>" ><?lsmb text(item.label) ?></a> </div> <?lsmb IF item.menu ?> - <div id="sub_<?lsmb item.id ?>" class=submenu> + <div id="sub_<?lsmb item.id ?>" class=submenu + <?lsmb IF item.open ?> + style="display: block" + <?lsmb END ?>> <?lsmb END ?> <?lsmb old_level = item.level ?> <?lsmb END ?> |