For()-Loop Animation | WebReference

For()-Loop Animation

 
Using for() Loop Method
    function runIt() {
     for (i=0;i<200;i++)
      moveIt();
    }
  • Internet Explorer only
    displays the last position
    update.
  • Netscapes Navigator displays
    many of the intermediate
    positions.