I'm trying to hide a button if "Display as a static header" is selected.
Prefs PAGE="fdbtoolbar"
The docs say:
@hideif
The button will be hidden if the tested command is true. This is similar to the conditional testing offered by the @if modifier described below.
@hideif:Set DUAL=toggle button will be hidden if the Lister is in dual-display mode
@hideif:!Set DUAL=toggle button will be hidden if the Lister is NOT in dual-display mode
I am running this code:
@hideif:Set FDBTOOLBAR=!static
@label:Val("$glob:FDBJ")=="on" ? "<b>Opus Location Bar is ON</b>" : "<b>JEG Location Bar is ON</b>"
@if:$glob:FDBJ
@set glob:FDBJ
Set FDBTOOLBAR "-FD JEG,-FD Locations JEG"
@if:else
Set FDBTOOLBAR "-FD Opus JEG"
@set glob:FDBJ=on
@if:common
@toggle:update
Parenthetically, another button turns static mode on and off; the code above never hides the button.
Any suggestions appreciated. TIA