Topic awaiting preservation: setTimeout (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Charles River |
posted 06-01-2002 00:03
I'm trying to implent a timer in a tooltip, so it pops up after a period of time, but I'm not succeding. If I do this, just as a test: code: var avTimer;
code: var avTimer;
|
Nervous Wreck (II) Inmate From: |
posted 06-01-2002 02:35
i think it's the expression you have in your setTimeout(). i've never used it with an expression. i could be wrong. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-01-2002 05:49
What's the error? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-01-2002 08:31
It cracks me up when people say "there was an error" without giving the line number and/or what the error was. How are we supposed to figure it out? Sigh. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 06-01-2002 09:42 |
Maniac (V) Inmate From: Charles River |
posted 06-01-2002 20:05
Sorry about not informing the line number and error. code: function ShowTooltip2(fArg)
code: if ((event.clientX > tooltipLft) && (event.clientY < (tooltipOBJ.scrollHeight?tooltipOBJ.scrollHeight:tooltipOBJ.style.pixelHeight) + 10)) {
code: <div class="CTooltip" ID="tt2">Bla bla bla ... ...</div>
code: <tr onmouseover="ShowTooltip(2);" onmouseout="HideTooltip(2);"><td>Bla bla...</td></tr>
code: .CTooltip{
|
Maniac (V) Inmate From: Charles River |
posted 06-01-2002 20:20
By the way, the code above has a problem. The tooltip is supposed to stay always at the top right corner of the window, even if you scroll down the page. This feature works fine in IE but not in Netscape. In Netscape, the tooltip is always fixed, so if you scroll the page down, the tooltip is not seen. |
Paranoid (IV) Inmate From: Dublin, Ireland |
posted 06-02-2002 15:54
Did mrMaxs fix not work, thats what I was thinking, is fArg a string or a number ? |
Maniac (V) Inmate From: Charles River |
posted 06-03-2002 08:21
I gave it up about the setTimeout. |
Bipolar (III) Inmate From: LA, CA, USA |
posted 06-04-2002 17:49
I was having this problem too, try this if you still care. |
Maniac (V) Inmate From: Charles River |
posted 06-04-2002 23:35
Hi beaner, |
Obsessive-Compulsive (I) Inmate From: Godella, Valencia, Spain |
posted 08-16-2002 19:06
Hi, |