> How would I change the output to the containing tiddler vs a new
> tiddler?
To get the title of the containing tiddler (using HTML <a> element):
var t=story.findContainingTiddler(this).getAttribute('tiddler');
To get the title of the containing tiddler (using eval params or
inline script):
var t=story.findContainingTiddler(place).getAttribute('tiddler');
Then, use it the same as before:
var tid=store.getTiddler(t);
...etc...
enjoy,
-e
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev?hl=en.