Javascript Tooltip / Posts /

tool tip with dynamic text as parameter for function

i want a tool tip with text as a paramter for the function tooltip popup, text should be dynamic..!!  please telll me if any knows
shashikanth  10 years ago   viewed: 3095    

1 Answer

You can create a variable and assign a value to it at a proper time. For example:
<span class="tooltip" onmouseover="var myText='<h3>It</h3> is me'; tooltip.pop(this, myText)">Me</span>

If your case is more complicated than this, you can consider the tooltip.ajax(...) usage.
Milo   10 years ago


Your name*
(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: