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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/df866b63-cd14-48c8-8f49-1c68c2896221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to