13,15d12
< var pnum=0;
< var ieach=0, jeach=0;
< var lasta=null, lasto=null;
178,189d174
< function preanother() {
< var brb="";
< for (var ij=jeach; ij>2; ij--) {
< brb+="
";
< }
< if (brb != "") {
< document.getElementById('p' + pnum).innerHTML=document.getElementById('p' + pnum).innerHTML + brb + '⚽';
< jeach--;
< setTimeout(preanother,ieach);
< }
< }
<
191a177
> var pnum=0;
208c194
< if (stopplace == eval(moff + 99)) {
---
> if (stopplace == eval(moff + 100)) {
210,216d195
< jeach=12;
< ieach=Math.floor(eval(eval(moff + 100) / 10));
< document.getElementById('myballdivtwo').style.display='none';
< lasto.style.display='none';
< setTimeout(preanother,ieach);
< } else if (stopplace == eval(moff + 100)) {
< document.getElementById('myballdivtwo').style.display='none';
385,393d363
< var ccl=Math.floor(eval(eval(-rad + (eval('' + twenty)) + rect.left) + eval(eval(2 * rad - (eval('' + thirtyeight))) / 2)));
< var cct=Math.floor(eval(eval(eval('' + fs) * 2 + (eval('' + four)) + eval('' + rect.top)) + eval(eval(2 * rad - (eval('' + thirtyeight))) / 2)));
< lasta=document.getElementById('myballdivtwo');
< animateonorbit('myballdivtwo', ccl, cct, 150, 6);
< var toccl=eval(180 + ccl);
< var tocct=eval(180 + cct);
< lasta=document.getElementById('myballdiv');
< //animateonline('myballdiv', ccl, cct, toccl, tocct, 6);
<
398,436d367
< function animateonorbit(bid, ccl, cct, anrad, fhl) { // thanks to https://www.useragentman.com/blog/2013/03/03/animating-circular-paths-using-css3-transitions/
< var dba=' ';
<
< document.body.innerHTML+=dba;
< lasto=document.getElementById(bid);
< document.getElementById(bid).style.display='block';
< //setTimeout(endanimateonline, eval(eval('' + fhl) * 1000));
< }
<
< function animateonline(bid, ccl, cct, toccl, tocct, fhl) {
< var dba=' ';
<
< document.body.innerHTML+=dba;
< lasta=document.getElementById(bid);
< document.getElementById(bid).style.display='block';
< setTimeout(endanimateonline, eval(eval('' + fhl) * 1000));
< //alert(dba);
< }
<
< function endanimateonline() {
< lasta.style.display='none'; //lasta.style.zIndex='0';
< var rectx=lasta.getBoundingClientRect();
< //alert('end ' + rectx.left + ',' + rectx.top + ' ... ' + rectx.width + ',' + rectx.height);
< }
<
504,508d434
<