Javascript Tooltip / Posts /

How to make tooltip sticky onclick

0
I have declared onmouseover
<span onmouseover="tooltip.pop(this, \''.$my.'\', {position:1, smartPosition: true, offsetY: 0, sticky: false, calloutPosition: 0.5, hideDelay: 300})">Image</span>

How can i add onclick to make sticky value to true?
I want something like this:
<span onmouseover="tooltip.pop(this, \''.$my.'\', {position:1, smartPosition: true, offsetY: 0, sticky: false, calloutPosition: 0.5, hideDelay: 300})" onclick = "tooltip.pop(previous, previous, {sticky: true})">Image</span>


Kostya  8 years ago   viewed: 3611    

1 Answer

0

You should either remove the onmouseover binding, or set sticky:true in the onmouseover binding.

Milo   8 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: