I have a control that manipulates a <<toc>> type by RadioWidget field mode 
as a template. I have several <<toc>> macros throughout my document where I 
want that template. If I have two or more toc-tiddlers open in the story 
and click this control's popup button the popup would appear on all 
toc-tiddlers because the popup state tiddler is hard-coded into the 
template. If I could reference a field - the button would modify that field 
for the tiddler I'm using the template within. The only way around I can 
think of is to wrap the template into a macro and parametrize the popup 
state tiddler. 

On Wednesday, July 19, 2017 at 7:52:54 PM UTC+3, Mark S. wrote:
>
> Why do you care if the state needs a tiddler instead of a tiddler/field, 
> since the contents are not available ? What is it that you're actually try 
> to accomplish?
>
> Good luck,
> Mark 
>
> On Wednesday, July 19, 2017 at 9:28:10 AM UTC-7, Vayu Asura wrote:
>>
>> Basicall I want to combine two examples from documentation:
>>
>> this
>>
>> <$button popup="$:/SamplePopupState">Pop me up!</$button>
>>
>>
>> <$reveal type="popup" state="$:/SamplePopupState">
>> <div class="tc-drop-down">
>>
>>
>> ! This is the popup
>> And this is some text
>>
>>
>> </div>
>> </$reveal>
>>
>> with this
>>
>> <$reveal type="match" state="!!jeremy" text="tiddlywiki">
>> ~TiddlyWiki!
>> </$reveal>
>>
>> The problem is I can't find a way for a popup button parameter to 
>> reference a field:
>>
>> <$button popup="!!jeremy">Pop me up!</$button>
>>
>> does not work
>>
>> I did manage to make a slider with SetField action but it is not a popup 
>> - you can't click on an area to hide it.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4a5c7bf6-951a-416d-bdec-9339d253e37f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to