Okay I think I'm done with this thing, working as I wanted it to :) Open
this <https://www.mentalnodes.com/> on your laptop and hover over any link
to see what it looks like.
On Wednesday, April 22, 2020 at 12:32:21 PM UTC+1, Ste Wilson wrote:
>
> Would Jeds help button macro be of any use to obtain a similar effect?
>
>
> \define HelpButton(label, ButtonText:?)
> ^^(^^<$button
> popup="""$:/temp/popup/$(currentTiddler)$/$label$"""
> class='tc-btn-invisible tc-tiddlylink'
> >
> ^^$ButtonText$^^
> </$button>^^)^^
> <$reveal
> type='popup'
> state="""$:/temp/popup/$(currentTiddler)$/$label$"""
> >
> <div
> class='tc-drop-down'
>
> style='max-width:100%;white-space:pre-wrap;padding:10px;text-align:left;font-size:1.5em;border-radus:0.5em;'
> ><$transclude
> field="""$label$"""
> /></div>
> </$reveal>
> \end
>
> Usage:
>
> ```
> This adds a help button that looks like this<<HelpButton demo>>
> ```
>
> This adds a help button that looks like this<<HelpButton demo>>
>
>
> ```
> This adds a help button that looks like this<<HelpButton demo2 'why?'>>
> ```
>
> This adds a help button that looks like this<<HelpButton demo2 'why?'>>
>
>
> Contents of the `demo` field: {{!!demo}}
>
> Contents of the `demo2` field: {{!!demo2}}
>
> You make a field for each label that contains the help information. This
> can have html and simple wikitext. Since it is a field linebreaks need to
> be added using html `<br>` tags.
>
>
--
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/c6513ec0-6a74-48e1-8377-93d87300bdb3%40googlegroups.com.