Log in

View Full Version : Pop up square to read meaning of the word



anita5
02-13-2006, 11:28 PM
I would like to explain certain words in the article. On mouseover, I would like a box to open up which explains the glossary term and disappear when the mouse is moved off.

Please let me know what code I should add for that.
Thanks,
Anita

ddadmin
02-14-2006, 12:31 AM
The easiest way would just be to add a "title" attribute to the words in question, though this has to be done manually for each word of interest on your page:


<span title="My best friend">Dan</span> and I went to see the movies.

anita5
02-14-2006, 10:24 AM
This is exactly what I was looking for. I will have to manually do it for each word which is not a problem.
Thank you very much.
Anita