Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var text1 = "This is the first message";
- var text2 = "This is the second message";
- var text3 = "This is the third message";
- var text4 = "This is the fourth message";
- function toggleThem()
- {
- window.setTimeout(function(){
- responsiveVoice.speak(text1);
- }, 200);
- window.setTimeout(function(){
- responsiveVoice.speak(text2);
- },2000 );
- window.setTimeout(function(){
- responsiveVoice.speak(text3);
- }, 2500);
- }
- toggleThem();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement