Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie OnMouseOver

Status
Not open for further replies.

tc3596

Technical User
Mar 16, 2001
283
If I hover over a text object, I want it to display text (tooltip) data. Roughly a paragraph of information. How do I accomplish this? Would it be easier to have some sort of empty table, and populate it with different information depending upon which text object I hover over?

I'm a db programmer not a web one.
 
Use the title attribute that is built in to HTML:

Code:
<span title="This text describes xyz">How to do xyz...</span>

If you want more control, consider using a DHTML replacement (see the tooltip section at for some examples).

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top