Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function start_countdown() {
- $('#words').before("<div id='resultsq'></div>");
- setInterval(function () {
- wpm_now = Math.round(error_keystrokes / 5) + 2;
- $('#resultsq').html("<font size='+3'><b>WPM:</b> "+wpm_now+"<br><b>KeyStr:</b> "+ error_keystrokes + "<br><b>Corretas:</b> "+error_correct+"<br><b>Erradas:</b> "+error_wrong+"</<font size='+3'>");
- },1000);
- if(cd_started == 0)
- {
- cd_started = 1;
- setval = window.setInterval(count_down, 1000);
- start_time = get_current_time().toString(16);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement