Attached is a file called
snippet.dropmenu.accesskeys.zip with all the necessaries to get Access Keys up and running in DropMenu.
Step 1: Create a TV as illustrated in
tv.accesskey.gif.
Step 2: Ensure all your templates are ticked at the bottom.
Step 3: Replace your DropMenu with the contents of
snippet.dropmenu.accesskeys.txt.
If you have modified your DropMenu and you want to include the changes in this file, you can see all changes made to the DropMenu snippet in
FileComparisonReport.html.
Hope it helps.
[edit]
I have updated the snippet to use the [tt]isset()[/tt] function inside the inline [tt]if[/tt] statements.
FileComparisonReport.html outlines the changes made.
[/edit]
[anotherEdit]
As per
Briggsy’s request, here are the details for the TV used (sorry for not being clearer about it before.):
Variable Name: [tt]accessKey[/tt]
(This is with a capital K and all other letters are lowercase.)
Caption: [tt]Access Key [Alt+?][/tt]
Description: [tt]Define a single charater that will act as a shortcut key to this document when called in the [[DropMenu]] Snippet.[/tt]
Input Type: [tt]Text[/tt]
Input Option Values:
Default Value:
Widget:
Sort Order: [tt]0[/tt]
(Or whatever is convenient for you.)
Ensure that all your templates are ticked that documents use which require an Access Key.
[/anotherEdit]
[evenMoreEdits]
Thanks to
garryn, he has fixed the issue that
Briggsy noticed
here.
garryn’s post about the fix is found
here. Many thanks mate.
The .zip file is updated again!
[/evenMoreEdits]
Extra keywords for search: accesskey, accesskeys.