How can I add a variable in a tooltip because this doesn't work :(

  <script type="text/javascript" language="javascript" src=""></script>
<link rel="stylesheet" type="text/css" href="" />

 <span class="hotspot" onmouseover="'Variable here ');" onmouseout="tooltip.hide();">Treci mouseul peste scris</span>

Where'd you find the script?

first of all avoid inline event handlers and use one of the following:

(event objects)

using inline handlers or handlers as properties will bring erros Wink

I did actually think about that.. Why not try another tip, like Soh Tanaka's jQuery one?

So you know how to solve the problem? I will try and another script if needed , but i'm not good at jQuery , if you can explain the steps .

Where'd you find the tip?

here but i will try anything !

variables like the USERNAME and the others?

well first of all you have to remove the inline event handler unless you like the style of the 90's ;D

Gangstar15 variables like

and i want to use another tooltip Smile

You do use it in the tempolates, right?

Razvan wrote:Gangstar15 variables like
and i want to use another tooltip Smile

this wouldn't work in tooltips for the (title="text")
You need to make your own tooltip for this using simple jquery and css (:

can you give me a link and tell me the steps and yes i want to use it in templates Smile


Yes like that Saxaca Smile how can i put the variable from the templates like this ?

Saxaca if i put the code from your post in work but if i put the code in a templet doesent work look what i tried Happy

  <td><div id="chenar">{catrow.forumrow.POSTS} {L_POSTS} in {catrow.forumrow.TOPICS} [wow]custom:Ahem,{L_TOPICS},/t[/wow] {L_TOPICS} </div></td>


what is the problem ?Happy

You cannot use BBCodes in templates. And, the comma needs to be double for the script to work. But, since this BBCode only generates a javascript, you should be able to do this:

<script src=",,{L_TOPICS},/t/en"></script>

In dosen't work i when i put the mouse nothing appears man i want to do like here when i put the mouse on the bold button will apeear a tooltip that says Bold in a black chenar Happy

look how work the code you given to me