| var max_day = 31; | |
| var i=0; | |
| function runAnimate(){ | |
| if(i<=max_day){ | |
| window.setTimeout("runAnimate()", 125); | |
| $("#day_" + i).fadeIn(125); | |
| i++; | |
| } | |
| } runAnimate(); His there a way to do this in a better way ? How do i implement my code so the user can't not use link before the animation is done. |