Mouse over 'hint box'


I'm working on my own website and I want to create what would call a "Hint Box", ie. when the user moves the mouse over text or a table a coloured box pops up explaining what the item does.  I think the E-E website does this for advertising, when certain keywords come up in text like data, it used to do it anyway.

My question, what language should I write this in, the rest of my site is in php but I suspect javascript or DHTML would be what I'm looking for.  Can someone give me an example or link to a website please?


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

whos_wee_dugAuthor Commented:
Yep, the box that pops up when you put the mouse over the word data is exactly what I'm looking for.


You could try using <abbr title="Tooltip text goes here">Word</abbr>.  This certainly works in Mozilla and should do in IE as well.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
whos_wee_dugAuthor Commented:
Thanks, you gave me the term "tool tip" which I searched for on google and foundd this thing called OverLib which is exactly what i needed. so you get the points, thanks.
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

As I said, my answer works in Mozilla and gives exactly the results you require.  Unfortunately it doesn't do the same in IE (IE doesn't display anything for abbr tags).

Still think grade C is a /little/ harsh...
eventhough the Tooltip is a great way to display text, I like using  this method
DHTML should do the job

just download the zip (if this is what you need)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.