|
-
Nov 15th, 2001, 04:46 PM
#1
Thread Starter
Frenzied Member
JavaScript: How do I sleep?
Anyone know what is the ECMA standard way of sleeping a JavaScript or doing other time events?
And which doco do you use? Deciphering what I find is a bear.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Nov 15th, 2001, 04:48 PM
#2
Member
Perhaps window.setTimeout("functionname(arguments)", delay in ms)?
-
Nov 15th, 2001, 04:51 PM
#3
Thread Starter
Frenzied Member
Now, is setTimeout a proprietary extention, or ECMA standard?
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Nov 15th, 2001, 05:08 PM
#4
Member
I'm not sure, it was supported in JS 1.3...
-
Nov 15th, 2001, 06:25 PM
#5
Fanatic Member
Well, Netscape 4.6 supports it, so I wouldn't be too worried
Alcohol & calculus don't mix.
Never drink & derive.
-
Nov 15th, 2001, 06:28 PM
#6
PowerPoster
yeah, but that dosn't mean it is standard
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Nov 15th, 2001, 07:20 PM
#7
Member
Originally posted by CiberTHuG
Now, is setTimeout a proprietary extention, or ECMA standard?
BTW, if you mean does it work only in IE or Netscape, it works in both.
-
Nov 15th, 2001, 11:32 PM
#8
Thread Starter
Frenzied Member
Well, again, I don't care if it works in both, I don't care who does or doesn't support it. I will only use it if it is standard.
I don't understand why that concept is so hard to follow.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Nov 16th, 2001, 02:22 PM
#9
Black Cat
window.setTimeout() can't be a ECMA standard - it would have to a DOM or W3 standard, as ECMAScript doesn't define DOM objects. I'm not seeing any documentation, but it was JavaScript 1.0.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|