On May 27, 10:53 pm, Eric Shulman <[email protected]> wrote:
>
> I think it should be reasonable easy to hook the necessary logic into
> the 'onclick' handler for the tiddler link... gimme a bit to look into
> it and I might have a quick code-based solution for you....
>
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
Eric, thanks for your gracious response and offer.
What I had in mind for the 'onclick' handler was, when I click on
"MyTiddlerLink":
if( "MyTiddlerLink" tiddler exists )
{
open the tiddler; // This is the current default behavior
}
else if( "MyTiddlerLink" does not exist && "MyTiddlerLink" is a tag )
{
execute: <<tagging 'MyTiddlerLink'>>; // this is new
}
else
{
Create the tiddler with the message "The tiddler 'MyTiddlerLink'
does not exist. Double-click to create
it". // THis is the current default behavior
}
Thanks!
Cheers; 'best,
shankar swamy
--
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.