To change the color when tiddler was closed, i searched for the close
tiddler command in the code and put some jQuery in, before tagging it
systemConfig.
config.commands.closeTiddler.handler = function(event,src,title)
{
if(story.isDirty(title) && !readOnly) {
if(!confirm(config.commands.cancelTiddler.warning.format([title])))
return false;
}
story.setDirty(title,false);
story.closeTiddler(title,true);
jQuery(".tiddlyLink").css("color", "blue"); //
return false;
};
To refine this, adding and removing classes would be better i think. I
also read something about hi-jacking core macros being better than
overwriting with a plugin.
Alex
--
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.