PDA

View Full Version : creating onmouseover


chelvis
11-12-2002, 02:44 PM
I have a table and in each <td> I have some thing. When a user put his mouse on each of this, a popup message should appear for a detailed discussion of this text. Eg:

<table>
<tr><td>Cat</td></tr>
<tr><td>Dog</td></tr>
</table>

So when a user put the mouse over cat, a popup message should appear with a description of cat. I saw some thing like this in the website http://www.ilor.com
If you go to this website, and search for something and from the reslts page if you put your mouse over the links in the Refine Search section you can see the popup message. Can some body tell me how to do this?

cg9com
11-12-2002, 02:57 PM
the code is right on the page if you want to learn from it.
there are some scripts like that i think at http://www.dynamicdrive.com/ youve prolly heard of it :)

to create a standard text mouseover you can use the "title" atribute like this.

<a href="webpage.html" title="this is the popup text">text</a>

this is very basic but it does the job, it wont support anything but text

here are a few i found on DD

http://www.dynamicdrive.com/dynamicindex5/bottomtool.htm
http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm
http://www.dynamicdrive.com/dynamicindex5/linkinfo2.htm

chelvis
11-12-2002, 08:16 PM
Thanks for the help:)