Dang, that is some good sleuthing.

Although I still think nested clicky areas is a bad idea (instant cognitive 
glitching over here, maybe a little GUI OCPD action going on), it 
definitely is worth asking for if it solves something for you.

Maybe I'm thinking passing a [[tiddler link]] as a parameter isn't 
something easy to do because I can't remember seeing anything like that 
anywhere ?  I could be overthinking it.



On Monday, May 17, 2021 at 5:05:20 PM UTC-3 si wrote:

> >>> I can't see that happening.  The entire bar is meant to be clicked on 
> to toggle opening/closing the details widget.  Having nested "clicky" areas 
> would be a bad idea, I think
>
> I don't really see the problem? It works fine with the HTML tag. Go to 
> tiddlywiki.com and try this:
>
> <details>
> <summary>[[TiddlerLinks]]</summary>
> Blah
> </details>
>
> Clicking anywhere other than the link opens the text. This is what I have 
> been using, but with the vanilla HTML element there is no way to record the 
> state, hence my interest in the details widget.
>
> On Monday, 17 May 2021 at 20:40:17 UTC+1 [email protected] wrote:
>
>> I can't see that happening.  The entire bar is meant to be clicked on to 
>> toggle opening/closing the details widget.  Having nested "clicky" areas 
>> would be a bad idea, I think.
>>
>> It isn't about the widget being unable to do that.  It is about the HTML 
>> foundation of the widget.  A somewhat related good read:  
>> https://www.w3schools.com/tags/tag_details.asp
>>
>> I kind of do what you are asking for in a different way.  See "How 
>> Charlie Uses DetailsWidget with Transclusions 
>> <https://tiddlywiki-programming.neocities.org/HowCharlieUsesDetailsWidget.html>."
>>   
>> There may be some stuff in there you can reuse for your purposes?
>>
>> On Monday, May 17, 2021 at 1:58:52 PM UTC-3 si wrote:
>>
>>> Hi Thomas, thank you for making this plugin.
>>>
>>> I've just been playing with it (this version 
>>> <https://tid.li/tw5/plugins.html#%24%3A%2Fplugins%2Ftelmiger%2Fdetails>), 
>>> and I noticed that the widget won't display links in the summary section. 
>>> E.g. <$details summary="[[Tiddler title]]"> will just display the 
>>> brackets as plain text, rather than giving you a clickable link. I don't 
>>> know if you are still updating this plugin, but I wondered if there is any 
>>> way to get links to show in the summary section?
>>> On Sunday, 22 January 2017 at 16:45:18 UTC [email protected] wrote:
>>>
>>>> Hi all – here comes my first attempt to build a widget: 
>>>>
>>>> The details widget creates an HTML 5 <details> section including a 
>>>> <summary>. Users can click on the summary to open and close a block 
>>>> containing more details. The parameter *open* defines the initial 
>>>> state at load time.
>>>>
>>>> See documentation here: http://tid.li/tw5/hacks.html#DetailsWidget
>>>>
>>>> I just finished a first version and the documentation and I am very 
>>>> happy with it. BUT: I am not a javascript expert! So *do yourself a 
>>>> favour and save a backup* of your wiki first. 
>>>>
>>>> Let me know if it works for you!
>>>>
>>>> All the best, 
>>>> Thomas
>>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bf635c0d-10b0-4814-9197-b2ac356a214bn%40googlegroups.com.

Reply via email to