Just in case you are not tired yet of exploring 'TiddlyCoding'...  :-D

1) Instead of using a macro, use a plugin and define a placeholder
with a unique id in your PageLayout.

2) Then define your "refresh" function in your plugin equivalent to
that of your macro but w/o the need for those macro parameters and
render your list into the DomNode of that unique Id, in case
getElementById(YourId) actually finds anything.

3) To ensure that your refresh function and macro use the same id, you
might actually use a macro to render that container box with its
unique id as stored in the same variable used by your function.

4) For valid HTML, wrap your li elements in an outer ul.

5) So now, how do you trigger your refresh function?

Well, you will have to HIJACK the core's functions for opening and
closing tiddlers.

6) Consider implementing a global flag turning refresh off for the
CloseAll macro so that your container wont get refreshed at every
single tiddler being closed.

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to