Preserved Topic: Can anyone tell me why my sliding script is so damn slow! (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: the land of oz |
posted 02-03-2002 17:46
Hi everybody, |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 02-03-2002 18:19
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 02-03-2002 19:04
Yes, setTimeout() does the action once and then stops automatically; you rarely need to clear it unless you want it to stop *before* it carries out its action. setInterval() works differently; it keeps calling the action until it is canceled. |
Obsessive-Compulsive (I) Inmate From: the land of oz |
posted 02-03-2002 21:05
Thanks folks for your advise! |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 02-03-2002 21:31
The poster has demanded we remove all his contributions, less he takes legal action. |