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
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
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
3 matches
Mail list logo