[tw] Re: showWhen code in tiddler body

2010-05-15 Thread AlanBCohen
For the rest of us, This showWhen macro is one of two contained in the HideWhenPlugin by Simon Baird. I found it in http://www.giffmex.org/twfortherestofus.html -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to

[tw] Re: showWhen code in tiddler body

2010-05-14 Thread colmjude
Hi Skye, Are you trying to show a photo in a particular tiddler? I have never heard of the 'showWhen' macro but there is another way to show a different img, depending on the protocol type, in a given tiddler. Firstly create a tiddler to contain the imgs. Give it 2 sections (one for local, one

[tw] Re: showWhen code in tiddler body

2010-05-14 Thread Eric Shulman
tiddler {{ if(window.location.protocol == file:){  ImagesTiddler##Local } else { ImagesTiddler##External } }} You can also perform 'conditional transclusion' using http://www.TiddlyTools.com/#CoreTweaks##890 which adds an optional if parameter that can be used with computed values to