Page 1 of 1

Slowing a script

Posted: Mon Sep 24, 2007 4:16 pm
by Poomerio
Hi.

Would it be possible for me to achieve this effect:

The script echos a string of text, and then a few seconds later, echos some more.

Thanks,
- Poomie

Posted: Mon Sep 24, 2007 6:07 pm
by Zoxive
sleep(), or maybe even JavaScript?

Posted: Mon Sep 24, 2007 11:37 pm
by Poomerio
Well how would I do it, using either of these?

- Poomie

Posted: Mon Sep 24, 2007 11:51 pm
by feyd
Your choice, however Javascript can be disabled by a user.

Posted: Tue Sep 25, 2007 12:04 am
by Poomerio
Well if I was to use the sleep() function, wouldn't that just delay the execution of the whole script?

- Poomie

Posted: Tue Sep 25, 2007 7:58 am
by Zoxive
Poomerio wrote:Well if I was to use the sleep() function, wouldn't that just delay the execution of the whole script?

- Poomie
Have you tried it? Or read the manual link i posted?

This is why i said both, Sleep, or javascript (setTimeout).

Posted: Tue Sep 25, 2007 10:11 am
by Poomerio
Yes I have tried it, and yes I've also read the Manual (many a time before)

- Poomie

Posted: Tue Sep 25, 2007 12:09 pm
by Zoxive
Poomerio wrote:Yes I have tried it, and yes I've also read the Manual (many a time before)

- Poomie
So you answered your own question then?

Posted: Tue Sep 25, 2007 12:15 pm
by Poomerio
Not really.
But how could this be achieved n Javascript then?

- Poomie