I would like to be able to switch three panels with one switch, all Panels are in the same place. I have read older descriptions that solved this with a "TAB" (I don't see the widget anymore though). Also I don't want to use a modal. How does this work?
One way :
If you use those switch values :
{
"Value 1": 0,
"Value 2": 1,
"value 3": 2
}
Just set your panel's "visible" field as this :
First one
#{@{switch_id} == 0 ? 1 : 0}
Second one
#{@{switch_id} == 1 ? 1 : 0}
Third one
#{@{switch_id} == 2 ? 1 : 0}
Other solution, using tabs : right-click on your panel > add tab
Then use linkId :
using >>Tab_or_whatever_keyword_you_want
in the switch propertie, and <<Tab_or_whatever_keyword_you_want
in the panel's propertie.
If you want to hide your tab's labels, use this in the panel css :
.navigation{display:none}
1 Like
Cool that is great... Thank you very much...