Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. var text1 = "This is the first message";
  2. var text2 = "This is the second message";
  3. var text3 = "This is the third message";
  4. var text4 = "This is the fourth message";
  5. function toggleThem()
  6. {
  7. window.setTimeout(function(){
  8. responsiveVoice.speak(text1);
  9. }, 200);
  10. window.setTimeout(function(){
  11. responsiveVoice.speak(text2);
  12. },2000 );
  13. window.setTimeout(function(){
  14. responsiveVoice.speak(text3);
  15. }, 2500);
  16. }
  17. toggleThem();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement