[Javascript] Sleep / Delay function
Peter Brunone
peter at brunone.com
Wed Jun 20 16:06:44 CDT 2001
Reuben,
For references, have you tried the list at
http://www.mountaindragon.com/javascript/resources.htm ?
To delay, you'll probably want to use the setTimeout() function; for
example, you could have the first half of your code in a function that then
calls the *next* half of the code in a different function using setTimeout.
The docs will be a bit more clear on how to use it.
----- Original Message -----
From: "Reuben D Budiardja" <reubendb at goshen.edu>
To: <javascript at LaTech.edu>
Sent: Wednesday, June 20, 2001 1:34 PM
Subject: [Javascript] Sleep / Delay function
Hi,
Can anyone tell me is there something like sleep or delay function in
javascript with argument in second ? That is, I want the javascript to wait
a
few second before execute the next line of code. How can I do that?
Second, what is the best place to get references for javascript function,
syntax, object addressing, etc? I always have difficulties of finding
reference on the net.
Thanks.
Reuben D. Budiardja
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list