+ 2
How to get this?
I want to make one text highlight after 1 minute and then make it notmal and another text highlight after 2 minutes and then make it normal too
1 Odpowiedź
+ 3
For everything related to time you should use setTimeout function.
In your case something like this:
setTimeout (function (){
MakeTextHighlight();
setTimeout (function (){
MakeTextNormal();
}, 1000);
}, 1000);
Those MakeText... functions you will have to write yourself, off course. Other text you can do at the same principle.
Enjoy!