Javascript Tooltip / Posts /

Closes the tooltip after clicking

22
Hi,

I'd like to close the tooltip after clicking on the object.

Can I do it?

Thanks
Eduardo  11 years ago   viewed: 10788    

1 Answer

3
Yes, you can use the tooltip's built-in function hide() to implement it:
<span class="tooltip" onmouseover="tooltip.pop(this, 'Hi there')" onclick="tooltip.hide()"> Hover me, then click on me </span>
Milo
  11 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: