The HTML5 Viewer's default configuration has a menu for common tasks, such as opening the list of map layers and returning to the initial extent. The menu is called the I Want To menu because the default text on the button that opens the menu is "I want to...". In the Desktop and Tablet interfaces, the I Want To button is in the top left corner of the map. In the Handheld interface, the button is at the top left of the screen.
I Want To menu shown in the Handheld preview
Each menu item is represented by some text and optionally a description and small image. You can modify or remove these items, create new items, and change the order that the items appear in the menu. A menu item can run any Geocortex Viewer for HTML5 command. For a list of commands, see Viewer Commands and Events.
To open an HTML5 viewer's I Want To Menu page in Manager:
In beside the viewer.
In the side panel, click I Want To Menu.
The I Want To Menu page opens.
The following settings apply to the I Want To menu as a whole:
Show Menu: If this checkbox is selected, the I Want To menu appears in the viewer.
Show Global Menu: If this checkbox is selected, the Global Menu appears in the I Want To menu.
The Global Menu allows users to sign into an account and save or load projects. For more information see GlobalMenu Module.
Global Menu in the I Want To menu
Title: The name of the I Want To menu.
The default value is @language-menu-title, which populates the menu title with the default I Want To menu title for each included language. See Configure User Interface Text for more information on using text keys
Alternatively, you can manually enter another menu title.
Custom title in the I Want To menu
Primary Color of Button: The color of the I Want To menu button as a hexadecimal value. The default value is #1A72C4
.
To add a new menu item to the I Want To menu, click Add Menu Item and configure the menu item's settings.
To edit an existing menu item, click the Edit icon next to the item and configure the menu item's settings.
To remove a menu item, click the Remove icon next to the item.
To re-order the menu, click and drag the Sort icon for each menu item that you want to move.
The following settings are available for menu items:
Text: The menu item's text.
Description: (optional) A short description of what the menu item does.
Command: The name of the command to run when the user selects the menu item. Click in the Command box to open a drop-down list of commands.
Command Parameter: The parameter value to pass to the command when it runs. Parameters can either be simple strings or complex objects containing any number of parameters.
Icon URI: (optional) The URI of the image to display next to the menu item. The image should be the size that you want it in the viewer. Valid file formats are PNG, BMP, JPG, and JPEG. The recommended image size is 24px by 24px.
Hide When Disabled: If a menu item's functionality is unavailable or has been disabled, you can select this checkbox to hide the menu item in the viewer entirely. When this checkbox is not selected, the menu item is grayed out but still appears to users.
See also...