By.KaBuS weB MaSteR
Mesaj Sayısı : 223 Kayıt tarihi : 13/06/09 Yaş : 31 Nerden : Notalar İcinden Lakap : By.KaBuS
| Konu: istediğin resimler sitede daire çizsin Ptsi Haz. 15, 2009 9:26 pm | |
| - Kod:
-
<<!--Ab hier bitte kopieren-->
<div id="icon0" style="position:absolute; top:125px; left:235px;"> <a href="center.html"><img src="19.gif"border="0" </a></div>
<div id="icon1" style="position:absolute; top:125px; left:235px;"> <a href="feedback.html"><img src="19.gif"border="0" </a></div>
<div id="icon2" style="position:absolute; top:125px; left:235px;"> <a href="scripte5.html"><img src="19.gif"border="0" </a></div>
<div id="icon3" style="position:absolute; top:125px; left:235px;"> <a href="scripte10.html"><img src="19.gif"border="0" </a></div>
<script language="Javascript"> <!-- var zx,zy; var mittex = 350; var mittey = 200; var radius = 100; var speed = 0.020; alpha = new Array(0,1.6,3.2,4.8); // *1
function pol_zu_kart(mx,my,radius,alp) { zx = mx + (radius * Math.sin(alp)); zy = my + (radius * Math.cos(alp)); }
function weiterdrehen() { for (i=0; i<=3; i++) // *2 { alpha[i]+=speed; if (speed>0) { if(alpha[i]>6.28) alpha[i]-=6.28; } else { if(alpha[i]<0) alpha[i]+=6.28; } pol_zu_kart(mittex,mittey,radius,alpha[i]); if(document.layers) { switch(i) { case 0: document.icon0.top=zy; document.icon0.left=zx; break; case 1: document.icon1.top=zy; document.icon1.left=zx; break; case 2: document.icon2.top=zy; document.icon2.left=zx; break; case 3: document.icon3.top=zy; document.icon3.left=zx; break; } // *3 } else { switch(i) { case 0: document.all.icon0.style.top=zy; document.all.icon0.style.left=zx; break; case 1: document.all.icon1.style.top=zy; document.all.icon1.style.left=zx; break; case 2: document.all.icon2.style.top=zy; document.all.icon2.style.left=zx; break; case 3: document.all.icon3.style.top=zy; document.all.icon3.style.left=zx; break; } // *3 } } }
status = window.setInterval("weiterdrehen()",10); //--> </script>
<!--Hier endet das script-->>
| |
|