I am very new to JS and only know the bare basics so I apologies if this is 
phased poorly.

I am trying to add a onclick link event at the end of each item in the 
treeplugin by MarkS: http://treeview.tiddlyspot.com/
That would allow a new subnode to be made. AKA: reproduce the macro 
<<newTiddler title:NewNode Tag:+Tagname+>>
As an onclick event on a link. 

Something along the lines of: 
var ah ="<a href=\"javascript:;\" onclick=\"return 
newTiddler.onClick=function(e)\" title=\"Create a new sub node here\" 
newtitle=\"NewNode\" isjournal=\"false\" newfocus=\"title\" 
tag=\"'+tagname+"\">+</a>";

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