DIFFICULTY: Can anyone tell me how to create a TIDDLER with the TABS macro and assign a different TAG to the Current TIDDLER (in the TIDDLER where the TABS are displayed) each time the “selected TAB” changes. Or put another way, apply/toggle a “different TAG” for each clicked TAB.
Looking at the original TIDDLYWIKI website, I imagine that this would be done optionally through the “actions” parameter, but searching the documentation and the internet, I didn’t find any example that demonstrates how to do this.
Unfortunately my lack of experience with TIDDLYWIKI prevents me from being able to correctly assemble this command or other operation to achieve this goal.
It depends on what you intend the tag to mean and how you name it. The state is changed when you select the tab to the currenttab perhaps that is helpful. There is also the posibility to make your own tab template that uses currenTab variable.
One question is do you want it to remove a tag from another tab at the same time?
“tabs” are actually built up of buttonwidgets and revealwidgets. So it is probably simpler to just use a couple of these widgets directly and style them to get what you want.
Or consider the checkboxwidget which has really made toggling of tags super simple and use a listwidget to reveal the “tab content” if the current tiddler has the tag. Checkboxwidgets can also be styled to appear anyway you want .
I think it would be better to describe what you want to achieve instead asking for a new feature. The request makes me think there are different … more tiddlywiki like ways to achieve what you want. …
Just a thought