> seems that just opening a tiddler with a <script>config.options.....</
> script> code in it...does not actually activate the changes in the
> config.options....until I edit/done the tiddler......this seems
> strange....why doesnt the script code atualise on opening the
> tiddler...

When you press 'done' on a tiddler, there is a 'notification' that is
triggered, and this causes the main menu display to be refreshed.  In
contrast, the RefreshTiddler script specifically ONLY re-renders the
current tiddler, and thus has absolutely no effect on the display of
the main menu, the sidebar, the header, or any other tiddlers
currently being viewed.

I think what you want to do is something like this:

<script>
   config.options.txtTopic="Topic_oil";
   config.options.txtReferences="Reference_oil";
   refreshDisplay();
</script>

As soon as the script is rendered, the two config.options.* values are
set and then the entire page display is immediately refreshed.

enjoy,
-e

--~--~---------~--~----~------------~-------~--~----~
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