Thanks Mark and Eric. I'll have a play with both of these. ALex
2009/7/14 Eric Shulman <[email protected]>: > >> 'Referneces' in the toolbar shows what links to a tiddler. I wondered >> if there was a way of showing where a tiddler was transcluded to. > > Try this bit of 'pure' HTML: > ------------------------ > <html><hide linebreaks> > <a href="javascript:;" title="list tiddlers that have transcluded this > tiddler" onclick=" > var t=story.findContainingTiddler(this).getAttribute('tiddler'); > var m=new RegExp('\<\<tiddler (\\[\\[)?'+t+'(\\]\\])?( with: .*)?\> > \>',''); > var s=store.search(m,'text','excludeLists'); > var out=[]; > if (!s.length) out.push('no matching tiddlers'); > for (var i=0;i<s.length;i++) out.push(s[i].title); > var p=Popup.create(this); > var d=createTiddlyElement(p,'div'); > var s=d.style; > s.padding='2px'; s.textAlignment='left'; > wikify(out.join('\n'),d); > Popup.show(); > event.cancelBubble=true; > if (event.stopPropagation) event.stopPropagation(); > return false; > ">transcluded by</a></html> > ------------------------ > > enjoy, > -e > > > > -- http://www.multiurl.com/g/64 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

