-
-
Save sebworks/95a9855267f87d66dfc953ec27024638 to your computer and use it in GitHub Desktop.
fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var c=0; | |
var t; | |
var timer_is_on=0; | |
function timedCount() | |
{ | |
if (c<50) | |
{ | |
document.getElementById('txt').value="###############"; | |
} | |
else if (c==50) | |
{ | |
document.getElementById('txt').value="DAT"; | |
} | |
else if (c>50) | |
{ | |
document.getElementById('txt').value="###############"; | |
window.clearTimeout(t); | |
} | |
c=c+1; | |
t=setTimeout("timedCount()",25); | |
} | |
function doTimer() | |
{ | |
if (!timer_is_on) | |
{ | |
timer_is_on=1; | |
timedCount(); | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment