Javascript displayMenu - jcobban/Genealogy GitHub Wiki
function displayMenu()
Up: Javascript Programming Guide
Source: /jscripts/util.js
The function displays the menu of services when the user mouse clicks on the menu button. On a mobile device touch the menu button. This menu is also displayed if the user presses the F10 button or the Ctrl-F combination on the keyboard.
Before:
After:
Note that the menu is divided into four sections by dividers:
- The hierarchy of pages above the current page
- The button to either sign on to the site, or to display the account information for the current user.
- A list of other languages that the current page supports, if any.
- The assistance section including a reference to the help page describing the use of the current page, the help page for the site, and a link to ask for assistance. The option to display the explanation for the current page initially has the keyboard focus.
The focus can be moved around inside the menu using the Up and Down arrow keys, or Tab and Shift-Tab.