Javascript Tooltip / Posts /

Closes the tooltip after clicking

20
Hi,

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

Can I do it?

Thanks
Eduardo  4 years ago   viewed: 6382    

1 Answer

2
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
  4 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: