I have a tiddler SiteStartup that I render from PageTemplate with
display=none. Is there a way to ensure that javascript in SiteStartup
only runs once?

You could use something akin to the "install only once" flag here:
http://svn.tiddlywiki.org/Trunk/association/plugins/SamplePlugin.js
http://svn.tiddlywiki.org/Trunk/contributors/FND/plugins/template.js

Or you could use a macro handler and add the macro to your PageTemplate.


-- F.

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