Hello,

I found possible to create a button with a transclusion (and not two
buttons !) and the TW core  function : createTiddlyButton
It seems odd because the tiddler macro calls a non-existent section in
order not to get two buttons !

The transclusion tiddler looks like this :

Name : CreateButtonTiddler
Tiddler text :
<<tiddler 'CreateButtonTiddler##show' with:{{
             createTiddlyButton(place,"test",null,
                    function(e) {
                      story.displayTiddler(null,'mainMenu');  // my
test function
                    });
}}>>

You can call this transclusion in a simple way :

<<tiddler 'CreateButtonTiddler'>>

I'm far from an expert in javascript and TW programming.
So I'm wondering if this transclusion is "safe" and if I'm not going
to encounter some problems using it ?

Thanks for your advices

FrD

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