My understanding is that setInterval is use for looping, cause once the time 
expires it executes again. It's a delay.
   
  Whereas setTimeout will not run again once the function is triggered.
   
  

coughlinsmyalias <[EMAIL PROTECTED]> wrote:
  
Hey, I found this article here:
http://www.evolt.org/article/Using_setInterval_to_Make_a_JavaScript_Listener/17/36035/
- to try to clear up my confusion with setInterval and setTimeout, but
still kind of confused, but this is what I got out of it so far:


setInterval: Does X every X ms

setTimeout: Delays X every X ms

Is that close or am I completely off? If someone has a more clear
example could you post it :)

Also, if I want to try to keep my site as "live" and "updated" as
possible, which would be better.

Thanks,

Ryan


       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.

Reply via email to