Hi Matt,

This is quite handy. 

Can you also share the "CSS used to make a popup of the definition show 
over whatever word you choose"?

Thanks!

Mark


On Wednesday, April 29, 2015 at 9:45:59 AM UTC-7, Matt4 wrote:
>
> Sorry if this has been shared before but I just came across something that 
> I think is pretty useful.
>
> I was creating a wiki that had some terms in it that I don't use everyday 
> and I would stumble over the definition while I was reading the article. I 
> wanted a way to access the definitions without having to go to another 
> tiddler to do so. So what I did was make a macro, a data tiddler, and a 
> little CSS to make a popup of the definition show over whatever word I 
> choose.
>
> *Macro*
> \define def(word)
> <abbr title={{Definitions##$word$}}>$word$</abbr>
> \end
>
> *Definitions Tiddler*
> syllogism:an instance of a form of reasoning in which a conclusion is 
> drawn from two given or assumed propositions (premises)
> ontological:relating to or ''based'' upon being or existence
> emoting:responding to a challenge with emotion rather than good reasoning
> *Type: application/x-tiddler-dictionary*
>
> Now in a tiddler, I can just put something like this:
> "This is a valid <<def "syllogism">>. If the premises are true, then the 
> conclusion would be true as well."
>
> In the article, the word syllogism will have a dotted underline (you can 
> make the look anything you want via CSS) and when I hover my mouse over it, 
> I get the definition of the word as entered in the Definitions tiddler.
>
> This is very handy depending on the type of wiki you are creating.
>
> Again, if this was created by someone else, I apologize for not giving 
> credit. I just can't remember where it came from.
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/76ba1a15-0b63-438c-9dd1-64d220332f8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to