Jean-Pierre,
I am sorry, Your question is to complex and too hard to follow.
- Can you attach some tiddlers that demonstrate the problem on
tiddlywiki.com?
- Can you show a simple example of what you are not able to do?
- view gadget? view Widget?
- If you asked what you want rather than showing us how you have tried
to get it, it may be easier for us to help.
- Just saying something does not work is not helpful, what is the "bad"
result?
- If you look behind the scenes in tiddlywiki you can often see how it
is done there and emulate it yourself.
Regards
Tony
On Friday, April 17, 2020 at 8:55:17 AM UTC+10, Jean-Pierre Rivière wrote:
>
> thank you for the <<version>> macro. My tw5 version is 5.1.22.
>
> BTW, I cannot be successful into transforming the icon into an image link
> to the tiddler of the displayed tip. Either the icon disappear, ot the
> target of the link is not there or I have my coding directly written.
>
> \define !tipDirect(tiddler)
> <$tiddler tiddler="$tiddler$">
> <aside class="tip-block"><div class="tip-icon"><a href="#$tiddler$"
> alt="tiddler for this tip">{{$:/core/images/tip}}</a></div><$transclude
> mode="block"/></aside></$tiddler>
> \end
>
> is nearly good but the link is not functional (once it opened tiddlers for
> every word in the title of the tip). More simply I was thinking to code:
>
> \define !tipDirect(tiddler)
> <$tiddler tiddler="$tiddler$">
> <aside class="tip-block"><div
> class="tip-icon">[[{{$:/core/images/tip}}|$tiddler]]</div><$transclude
> mode="block"/></aside></$tiddler>
> \end
>
> but the icons is not displayed here.
>
> I also tried
>
> \define !tipDirect(tiddler)
> <$tiddler tiddler="$tiddler$">
> <aside class="tip-block"><div
> class="tip-icon">[[{{$:/core/images/tip}}\{{!!title}}]]</div><$transclude
> mode="block"/></aside></$tiddler>
> \end
>
> but the link is to "{{!!title}}" and of coure there is no more image.
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/68b41166-ccc7-4c17-9f0f-58f02656f7ae%40googlegroups.com.