"Ok, second option is to use "reverse engineering" and write to the 
document directly. If I create a newTiddler via this syntax:

<<newTiddler tag:"sampleTag" text:"sampleText" label:"sampleLabel">>

Opera DragonFly (analogue for FireFox: FireBug extension) shows me this DOM:

<a href="javascript:;" title="Create a new tiddler" class="button" 
accesskey="N" newtitle="New Tiddler" isjournal="false" params="sampleTag" 
newfocus="title" newtemplate="2" newtext="sampleText">sampleLabel</a>

and also a "click" event handler which is actually 
config.macros.newTiddler.onClickNewTiddler [5]. You can write this tags to 
the document directly and than add an event handler."

First it is probably impotent to note that I know next to nothing about 
JavaScript outside of reading a handful of "getting started guides over the 
last few days; None of which covered anything like this, so it's very 
possible I am missing something really simple and important.

This is effectively what I've been trying to do, however 6 days later and 
about 30hrs trying everything I can think of  I still can't seem to figure 
out how to make a "click" event out of 
"config.macros.newTiddler.onClickNewTiddler".
 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to