Hey!
On 8 mar., 22:00, Tobias Beer <[email protected]> wrote: > Hi w, > > Is it rather that you want a means to go back to scroll back to the element > > > you have clicked before, thus also being relevant for normal tiddlyLinks? > > So, what I think it boils down to is that your desired functionality > applies to any internal PrettyLink, not just those created by linkify > ...because truly that is all Linkify does... it creates PrettyLinks. Yes, I was talking about all internal links, not just linkifed, but LinkifyPlugin was on my mind, since I'm hoping to use it for aliases. :) > > If you wish, your desired functionality sounds more like a > *RewindPlugin*which would show > some message (e.g. below a tiddler subtitle) which tells you where you came > from and let's you click to go right back, perhaps even to the actual link, > not just the tiddler. This is already covered by Eric's BreadcrumbsPlugin, so you'd be reinwenting the wheel. :D I'm not interested in where I came from, I'm interested in the fact that this is a different tiddler than the link text indictated. For example, if you're in the [[Empire]] tiddler and you mention [[Darth Vader]] and the user clicks on it, he doesn't actually go to "Darth Vader" tiddler (which doesn't exist) but to [[Anakin Skywalker]] tiddler. I'd like to be able to tell the user, that he was "redirected" from "Darth Vader" and that he is indeed in the correct tiddler. I've been looking around the net a bit and I found some ideas. Basically, you'd need to detect clicks on the links, get the innerHTML of the clicked link and somehow save it and then display it in the destination tiddler. Something like this: <html> <head> <title>TEST</title> <script type="text/javascript"> onload=function(){ var els=document.getElementsByTagName('a'); i=els.length; while(i-->0) els[i].onclick=function(){ document.getElementById('headline').innerHTML=this.innerHTML; } } </script> </head> <body> <h3 id="headline">Default Headline</h3> <a href="#">text 1</a><br> <a href="#">text 2</a><br> <a href="#">text 3</a><br> <a href="#">text 4</a> </body> </html> This works nicely in a vanilla HTML document, but it would need to be modified obviously. I'll play around a little. Who knows, we might actually turn up something interesting. :) > > Cheers Tobias. Thanks. w -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

