Just to confirm that the summary/details approach is not compatible with TW5's 
refresh architecture. I haven't looked at the code, but I'm surprised that a JS 
widget is needed; why can't one just use the elements within a macro?

The summary/details approach is, however, exceptionally useful within static 
HTML renderings.

Best wishes

Jeremy

--
Jeremy Ruston
[email protected]
http://jermolene.com

> On 23 Jan 2017, at 09:17, David Gifford <[email protected]> wrote:
> 
> Very nice! I will definitely be using this. I agree with those who say it 
> should eventually become a plugin where everything is bundled together.
> 
> Dave
> 
>> On Sunday, January 22, 2017 at 10:45:18 AM UTC-6, Thomas Elmiger 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 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/3b352f8b-3d57-44c4-a3ff-8a27b87e4351%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/EDE78BE2-925E-46C3-B9B8-7F19DC074928%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to