I wrote a little thing to do this a long time ago.
http://willcode4beer.com/tips.jsp?set=defs
It will require you to use definition tags though.
Basically, just wrap words to get it with <dfn> tags. ex
Code:
<dfn>MyHardWord</dfn>
Then include a definition list (with matching words) in the page somewhere (it can be hidden):
Code:
<dl>
<dt>MyHardWord</dt>
<dd>The definition of my word is...</dd>
</dl>
The code is pretty old, so try not to laugh too much. Maybe I'll get around to re-writing it sometime.
|