Solved

Mouse over 'hint box'

Posted on 2003-12-04
6
513 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now