sleep func
Posted: Sun Oct 23, 2011 12:30 pm
[*]
i try to do a virtual chat..
and i want to do a sleep func before that i accept answer..
for example:
you:hi
(sleep 3 sec)//there is a label that write "virtual chat typing"
virtual chat:hi my friend
how i can do sleep func in javascript...
I try to do SetTimeout.. but when appear the status message, the message of virtual chat appear without wait..
i try to do a virtual chat..
and i want to do a sleep func before that i accept answer..
for example:
you:hi
(sleep 3 sec)//there is a label that write "virtual chat typing"
virtual chat:hi my friend
how i can do sleep func in javascript...
I try to do SetTimeout.. but when appear the status message, the message of virtual chat appear without wait..