Solved

Mouse over 'hint box'

Posted on 2003-12-04
6
517 Views
Last Modified: 2011-10-03
Hi,

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?

Cheers,

Colin.
0
Comment
Question by:whos_wee_dug
6 Comments
 

Author Comment

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

Thanks,

Colin.
0
 
LVL 3

Accepted Solution

by:
mrh30 earned 50 total points
ID: 9875050
You could try using <abbr title="Tooltip text goes here">Word</abbr>.  This certainly works in Mozilla and should do in IE as well.
0
 

Author Comment

by:whos_wee_dug
ID: 9875173
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.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 3

Expert Comment

by:mrh30
ID: 9875206
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...
0
 
LVL 1

Expert Comment

by:DeCojutepeque
ID: 9876040
eventhough the Tooltip is a great way to display text, I like using  this method

http://www.bosrup.com/web/overlib
0
 

Expert Comment

by:ViP
ID: 9905915
DHTML should do the job

http://www.dynamicdrive.com/dynamicindex5/popinfo3.htm

just download the zip (if this is what you need)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question