How do I make a mouse over open a Tooltip and this box does not disappear when I remove the mouse focus so I can put a clickable text inside this container?
As an example: the tags that appear here in Stack Overflow.
How do I make a mouse over open a Tooltip and this box does not disappear when I remove the mouse focus so I can put a clickable text inside this container?
As an example: the tags that appear here in Stack Overflow.
Your question was somewhat broad.
With the code below you could have the functionality of a hover
assigning visibility to an element.
CSS
.lightbox{
display:none;
}
HTML
<a href="#" class="ExibirLightBox">Exibir</a>
<div class="lightbox>
// Conteudo do lightbox
</div>
SCRIPT
$(document).ready(function (e) {
$('.ExibirLightBox').hover(function (e) {
$(".lightbox").css("display", "block");
}
)
});
What you want is this:
Edit the div below with the content you want:
<div class="tooltip">I am a tooltip!</div>