![]() Topic awaiting preservation: setTimeout (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Charles River |
![]() 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: |
![]() 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 |
![]() What's the error? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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 |
![]() |
Maniac (V) Inmate From: Charles River |
![]() 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 |
![]() 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 |
![]() Did mrMaxs fix not work, thats what I was thinking, is fArg a string or a number ? |
Maniac (V) Inmate From: Charles River |
![]() I gave it up about the setTimeout. |
Bipolar (III) Inmate From: LA, CA, USA |
![]() I was having this problem too, try this if you still care. |
Maniac (V) Inmate From: Charles River |
![]() Hi beaner, |
Obsessive-Compulsive (I) Inmate From: Godella, Valencia, Spain |
![]() Hi, |