I kludged something together with the help of a TW expert.
You need the inline javascript plugin from TiddlyTools.com
1 )Add this code to a tiddler.
<script>
here=story.findContainingTiddler(place);
var link=here.getAttribute("tiddler");
jQuery("a[tiddlylink="+link+"]").addClass("linkVisited")
</script>
2 ) You could it in a tiddler named linkVisited, then include that tiddler
in the ViewTemplate using the tiddler macro:
<div macro='tiddler linkVisted'></div>
3) Then you have to add some CSS to define the style for the linkVisited
class the jQuery added. Something link:
.linkVisited {
color:red;
}
Will do the job, but here is probalbly a better way of doing this.
best wishes
Alex
On 2 November 2010 15:29, elnoi <[email protected]> wrote:
> Hello all,
> I wonder if there is a way to simulate the a:visited html behaviour.
> I'd like to apply it to TiddlyLinks and be able to change color to the
> already visited (seen).
>
> --
> 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]<tiddlywiki%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
>
>
--
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.