After many problems, i've got an example on TiddlySpaces [1]
Its got a bag in it - http://hoster.peermore.com/bags/StylingLinks/tiddlers.


I thought i'd show it despite it being far from being finished.
the sensible thing to do would be to add a class using jQuery, and the
restrict to the main menu. also the the color reset is too universal
at the moment

Alex
[1] http://hoster.peermore.com/recipes/FormatingLinks/tiddlers.wiki

On Jun 5, 9:07 am, Alex Hough <[email protected]> wrote:
> Hi Måns,
>
> I will do. it needs a bit of refinement
> I think i'll try it on TiddlySpaces. Hopefully i'll be able to
> integrate it into Mario's idea for team working by making a public bag
> watch this space.
>
> Alex
>
> On Jun 4, 10:55 pm, Måns <[email protected]> wrote:
>
> > Hi Alex
>
> > Please give us a working example (maybe a tiddlyspotinstance?) - this
> > sounds very interesting indeed - I'd love to see it in action :-)
>
> > Cheers Måns
>
> > > 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.

Reply via email to