...
Codeblock | ||||
---|---|---|---|---|
| ||||
<script language="JavaScript" src="js/jquery/plugins/mousetrap.min.js" type="text/javascript"></script> <script language="JavaScript" src="js/jquery/plugins/shortcuts.js" type="text/javascript"></script> |
In the XUI-Editor go to the appropriate node and create a XUI Component if necessary. Select "Style" > "Choice" and set the "Visualizer type" to advancedComboBox. The component itself will be configured with a HTML escaped JSON String in the NLS file. For Example:
/rootNode/choice/fahrt%label%choice={"label"&co;"Lokale Verteilfahrt", "desc"&co;"Beschreibung", "imgClass"&co;"lokaleVerteilfahrt"}
...
Configuration
To enable the keyboard shortcuts handling, the shortcuts must be registered in the main HTML template.
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
<script type="text/javascript" language="JavaScript" defer="defer">
registerShortcuts();
</script> |