Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
custom:javascript:lib:ddlightbarmenu.js [2018/12/27 21:05] – DDLightbarMenu.js was renamed to dd_lightbar_menu.js nightfox | custom:javascript:lib:ddlightbarmenu.js [2019/05/11 14:11] – Added information about the new menuTitle property, which can be used to specify a title to write in the top border nightfox | ||
---|---|---|---|
Line 46: | Line 46: | ||
| itemTextCharHighlightColor | The color of a highlighted non-space character in an item text (specified by having a & in the item text). | | itemTextCharHighlightColor | The color of a highlighted non-space character in an item text (specified by having a & in the item text). | ||
| borderColor | | borderColor | ||
+ | | menuTitle | ||
By default, the menu selection will wrap around to the beginning/ | By default, the menu selection will wrap around to the beginning/ | ||
Line 90: | Line 91: | ||
// long as it's not a space. | // long as it's not a space. | ||
lbMenu.Add(" | lbMenu.Add(" | ||
+ | | ||
+ | // To enable borders and set a title to display in the top border: | ||
+ | lbMenu.borderEnabled = true; | ||
+ | lbMenu.menuTitle = " | ||
To enable borders, set the borderEnabled property to true. Example: | To enable borders, set the borderEnabled property to true. Example: |