> Try this:
>
> <script>
> var tid=story.findContainingTiddler(place).getAttribute("tiddler");
> var links=store.getTiddler(tid).getLinks();
> for (var i=0; i<links.length; i++) if (!store.tiddlerExists(links[i]))
> links[i]='';
> return wikify('[['+links.sort().join(']]\n[[')+']]',place);
> </script>
>
> -e

Is it Ok to splice the non-existent links out of the array instead of
just making them empty? Because I want to use

if (links.length && target) target.style.display='block';

And is there a way to list external links as well?


-- R
--~--~---------~--~----~------------~-------~--~----~
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