actions dropbox: add action to show hotkey help

This commit is contained in:
Andrew Dolgov 2008-05-15 17:27:11 +01:00
parent 5ac3b9d607
commit 238eff0165
3 changed files with 7 additions and 5 deletions

View File

@ -1796,14 +1796,11 @@ div#hotkey_help_overlay {
right : 15%;
top : 15%;
z-index : 999;
/* background-color : #f8fcf5;
border-width : 1px 1px 1px 1px;
border-style : solid;
border-color : #99d67a; */
padding : 1em;
background : url("images/shadow_dark.png");
color : white;
border : 1px solid black;
font-size : 12pt;
}
div#hotkey_help_overlay h1 {

View File

@ -529,6 +529,10 @@ function quickMenuGo(opid) {
rescoreCurrentFeed();
}
if (opid == "qmcHKhelp") {
Element.show("hotkey_help_overlay");
}
} catch (e) {
exception_error("quickMenuGo", e);
}

View File

@ -82,7 +82,7 @@
</div>
</div>
<div id="hotkey_help_overlay" style="display : none">
<div id="hotkey_help_overlay" style="display : none" onclick="Element.hide(this)">
<?php include "help/3.php" ?>
</div>
@ -158,6 +158,7 @@ window.onload = init;
<option disabled>--------</option>
<option style="color : #5050aa" disabled><?php echo __('Other actions:') ?></option>
<option value="qmcAddFilter"><?php echo __('&nbsp;&nbsp;Create filter') ?></option>
<option value="qmcHKhelp"><?php echo __('&nbsp;&nbsp;Keyboard shortcuts') ?></option>
</select>
</div>