0

Как создать цикл сообщений с задержкой?

Цикл

6th Sep 2018, 6:03 AM
Flatt Delx
Flatt Delx - avatar
15 Respuestas
0
Please write in English!
6th Sep 2018, 6:51 AM
$machitgarha
$machitgarha - avatar
0
How to create a cyle of messages Sadeghi for example 5 seconds?
6th Sep 2018, 6:53 AM
Flatt Delx
Flatt Delx - avatar
0
Could you please explain more? Are you want to write a message that takes 5 seconds?
6th Sep 2018, 6:56 AM
$machitgarha
$machitgarha - avatar
0
I need a message loop, a message to upravljalci times in 5 seconds or so without stopping
6th Sep 2018, 6:59 AM
Flatt Delx
Flatt Delx - avatar
0
Sorry, but I don't get you! Maybe the sleep() or usleep() functions could help you. They stop the program from executing. Read more: http://www.php.net/sleep http://www.php.net/usleep
6th Sep 2018, 7:06 AM
$machitgarha
$machitgarha - avatar
0
I tried, not to help
6th Sep 2018, 7:08 AM
Flatt Delx
Flatt Delx - avatar
0
You should try that in terminal (command line). The web server waits until the execution to be ended and then it sends all data. That said, sleep() will just affect on loading time, not on text effects. You should use JavaScript to do that.
6th Sep 2018, 7:11 AM
$machitgarha
$machitgarha - avatar
0
And can you then help create a simple console for the site?
6th Sep 2018, 7:14 AM
Flatt Delx
Flatt Delx - avatar
0
No, I don't mean a console for the site. You could use either Terminal (Linux) or command prompt (Windows) to see the effects. If you want something like text blinking or typing effects, you should use JavaScript. It's really powerful and is for front-end.
6th Sep 2018, 7:17 AM
$machitgarha
$machitgarha - avatar
0
You could also use CSS animations.
6th Sep 2018, 7:22 AM
$machitgarha
$machitgarha - avatar
0
I'm bad at css
6th Sep 2018, 7:23 AM
Flatt Delx
Flatt Delx - avatar
0
But thank
6th Sep 2018, 7:24 AM
Flatt Delx
Flatt Delx - avatar
0
You're welcome!
6th Sep 2018, 7:25 AM
$machitgarha
$machitgarha - avatar
0
=)
6th Sep 2018, 7:26 AM
Flatt Delx
Flatt Delx - avatar