Look for createTiddlyLink in the TiddlyWiki source. That should give you what you need. It returns a dom element which you can add whereever you need it.
On Dec 2, 3:05 pm, Kolya33 <[email protected]> wrote: > I realise I may not have been very precise in my question, because I'm > not looking for a *pure* HTML solution of course. But one that will > work inside HTML tags, inside a tiddler. I'll try to be more specific: > > Is there a Javascript function that I can pass the name of a tiddler, > which will then open that tiddler, like clicking on a wikified link? > > Regards, Kolya > > On Dec 2, 1:52 pm, Kolya33 <[email protected]> wrote: > > > > > I need to create a tiddly link in HTML, that is a link from one > > tiddler to another. The reason for the HTML is that the link will > > embrace a thumbnail image which will be loaded via another script into > > an IMG element that has to be marked with a CSS ID. So I tried > > something like this: > > > function getVIMNail(id, title) { > > if (id != "") { return "<html><a href=\"%23%5B > > %5B"+encodeURIComponent(title)+"%5D%5D\"><img id=\"vimeo-"+id+"\" src= > > \"\" /></html><script>vimeoLoadingThumb("+id+");</script> "; } else > > return "";} > > > The above function gets passed a video-ID and the according > > tiddler.title and correctly writes a linked thumbnail-image, for > > example linking to:http://www.schwarzsilber.de#[[James Blake - The Limit To > > Your Love]] > > But clicking this link of course opens a new instance of the TW in > > another tab/window. So how do I write a tiddly link in HTML? -- 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.

