|
|
Line 101: |
Line 101: |
| }; | | }; |
| | | |
− | function spinleft(){
| |
− | if(radl<0){radl=360; kl=270;}
| |
− | else{rad+=2; k+=2};
| |
− |
| |
− | xl=r*Math.cos(Math.PI/180*radl);
| |
− | yl=r*Math.sin(Math.PI/180*radl);
| |
− | document.getElementById("point2").style.top=yl+330+"px";
| |
− | document.getElementById("point2").style.left=xl+380+"px";
| |
− |
| |
− | document.getElementById("point2").style.transform="rotate("+kl+"deg)";
| |
− |
| |
− | },7);
| |
− | };
| |
| | | |
| | | |
Revision as of 16:51, 18 September 2015