hello, my question is
how can I get this animation to loop, a couple of times ???
<script>
var y=0;
function animateIt(){
var theDivision=document.getElementById('animatedDiv');
var yMax=2000;
if(y<=yMax){
theDivision.style.top=y;
y=y+60;
setTimeout("animateIt()",10);
document.forms.theform.thetextbox.value="thank you.";
}
}
</script>
thanks and thanks to ASAAKI
how can I get this animation to loop, a couple of times ???
<script>
var y=0;
function animateIt(){
var theDivision=document.getElementById('animatedDiv');
var yMax=2000;
if(y<=yMax){
theDivision.style.top=y;
y=y+60;
setTimeout("animateIt()",10);
document.forms.theform.thetextbox.value="thank you.";
}
}
</script>
thanks and thanks to ASAAKI

Comment