[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


'Help box' when mouse hover

Posted on 2009-02-24
Medium Priority
Last Modified: 2012-05-06
Hi, I see in some sites, very nice help box's. When the mouse hover open a little box's with the help contain.
I don't know the technology behind this box's, so I need help to begin this box's too.
Who know how do box's like the image I put in attachments, any example or simple tutorial.
Regards, JC

Question by:Pedro Chagas
  • 2
LVL 17

Accepted Solution

contactkarthi earned 1000 total points
ID: 23725000
if you want to show just text in the help box simple example here


or if you want a html page then look here


Author Comment

by:Pedro Chagas
ID: 23725574
Hi, I try to use the first example, but something happening, because don't do the efect.....
My steps was:
I put qtip.js in my server and I call that file with this line I put in the <head>:
<script language="JavaScript" src="qTip.js" type="text/JavaScript"></script>

I create the css file "qTip.css", and I call the style in this way:
@import url("/estilo/qTip.css");

My difficulty is make work the script. I have this Div, and this Div contain a button that calls 'icon_interrogacao.png' (The image is this charactere "?"):
<div id="icone_nivel_concorrencia"><img src="imagem/icon_nivel_concorrencia.jpg" /> <img src="imagem/icon_interrogacao.png" /><br />
<a class="info_flash"><? echo $resultado->nivel_concorrencia; ?></a></div>

I want when mouse over the image 'icon_interrogacao.png' appear the help box.  

I do this changes but still not work:
<div id="icone_nivel_concorrencia"><img src="imagem/icon_nivel_concorrencia.jpg" /> <a href="#" title="this is the contain of help box"><img src="imagem/icon_interrogacao.png" /></a><br />
<a class="info_flash"><? echo $resultado->nivel_concorrencia; ?></a></div>

I don't know what is wrong, please check the code and tell me what I have to change.
Observation: I don't edit the qTip.js file.

Regards, JC

//contain of css file
div#qTip {
 padding: 3px;
 border: 1px solid #666;
 border-right-width: 2px;
 border-bottom-width: 2px;
 display: none;
 background: #999;
 color: #FFF;
 font: bold 9px Verdana, Arial, sans-serif;
 text-align: left;
 position: absolute;
 z-index: 1000;

Open in new window


Author Comment

by:Pedro Chagas
ID: 23727742
I´m sorry, don't have any problem to the script, the reason for don't work is calling qtip.js, I call qTip.js, when correct is qtip.js.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

834 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