function myMove() {
  var elem = document.getElementById('myAnimation');   
  var pos = 0;
  var id = setInterval(frame, 15);
  function frame() {
    if (pos == 8000
    ) {
      clearInterval(id);
    } else {
      pos++; 
      elem.style.bottom = pos + 'px'; 
      elem.style.right = pos + 'px'; 
    }
  }
}
//Special effects - Meteor moving in background
Special effects - Meteor moving in background
Special effects - Meteor moving in background
function myMove() {
  var elem = document.getElementById('myAnimation');   
  var pos = 0;
  var id = setInterval(frame, 15);
  function frame() {
    if (pos == 8000
    ) {
      clearInterval(id);
    } else {
      pos++; 
      elem.style.bottom = pos + 'px'; 
      elem.style.right = pos + 'px'; 
    }
  }
}
function myMove ( ) { var elem = document . getElementById ( 'myAnimation' ) ; var pos = 0 ; var id = setInterval ( frame , 15 ) ; function frame ( ) { if ( pos == 8000 ) { clearInterval ( id ) ; } else { pos ++ ; elem . style . bottom = pos + 'px' ; elem . style . right = pos + 'px' ; } } }
Special effects - Meteor moving in background
Special effects - Meteor moving in background