anzeige

Java


Seite: 1
Autor Beitrag
Raser
16.11.05 - 15:53:44 Uhr

hallo...
weiß einer ne site wo man gute java applets herkriegt???da ich (noch) nich selber programmiere und ich noch n paar für meine hp brauche wäre ich fürn paar tips ganz dankbar.

mfg
RaSeR


PS: das is meine hp http://www.theraser.de.vu
Abgemeldet
16.11.05 - 16:01:10 Uhr

googel doch einfach mal nach java scripts da bekommst 1000sende von seiten und dan mal suchen was man so brauchen kann
hier hast du mal eins für silvester *gg*


  1. script language="JavaScript  
  2. ns=(document.layers)?1:0;  
  3. amount=14;  
  4. if (ns){  
  5. for (i=0; i < amount; i++)  
  6. document.write("");  
  7. }  
  8. else{  
  9. document.write("");  
  10. document.write("");  
  11. for (i=0; i < amount; i++)  
  12. document.write("");  
  13. document.write("");  
  14. }  
  15. Clrs=new Array('ff0000','00ff00','ffffff','ff00ff','ffa500','ffff00','00ff00','ffffff','ff00ff')  
  16. sClrs=new Array('ffa500','00ff00','FFAAFF','fff000','fffffF')  
  17. Xpos=300;  
  18. Ypos=150;  
  19. initialStarColor='00ff00';  
  20. step=5;  
  21. currStep=0;  
  22. explosionSize=120;  
  23. function Fireworks(){  
  24. var WinHeight=(document.layers)?window.innerHeight-100:window.document.body.clientHeight-100;  
  25. var WinWidth=(document.layers)?window.innerWidth-100:window.document.body.clientWidth-100;  
  26. var Yscroll=(document.layers)?window.pageYOffset:document.body.scrollTop;  
  27. for (i=0; i < amount; i++){  
  28. var layer=(document.layers)?document.layers["nsstars"+i]:iestars[i].style;  
  29. var randCol=Math.round(Math.random()*8);  
  30. var randSz=Math.round(Math.random()*2);  
  31. layer.top = Ypos + explosionSize*Math.sin((currStep+i*5)/3)*Math.sin(currStep/100)  
  32. layer.left= Xpos + explosionSize*Math.cos((currStep+i*5)/3)*Math.sin(currStep/100)  
  33. if (currStep < 110){  
  34.  if (ns){layer.bgColor=initialStarColor;layer.clip.width=1;layer.clip.height=1}  
  35.  else{layer.background=initialStarColor;layer.width=1;layer.height=1;layer.fontSize=1}  
  36.  }  
  37. else{  
  38.  if (ns){layer.bgColor=Clrs[randCol];layer.clip.width=randSz;layer.clip.height=randSz}  
  39.  else{layer.background=Clrs[randCol];layer.width=randSz;layer.height=randSz;layer.fontSize=randSz}  
  40.  }  
  41. }  
  42. if (currStep > 220)  
  43. {  
  44.  currStep=0;  
  45.  Ypos = 50+Math.round(Math.random()*WinHeight)+Yscroll;  
  46.  Xpos = 50+Math.round(Math.random()*WinWidth);  
  47.  for (i=0; i < sClrs.length; i++)  
  48.   {  
  49.   var newIcol=Math.round(Math.random()*i);  
  50.   }  
  51. initialStarColor=sClrs[newIcol];  
  52. explosionSize=Math.round(80*Math.random()+100);  
  53. }  
  54. currStep+=step;  
  55. setTimeout("Fireworks()",20);  
  56. }  
  57. Fireworks();  
  58. // -->  
  59.  


script language="JavaScript natürlich in spite > schreiben
geht hier nur nicht
lool
Abgemeldet
16.11.05 - 16:01:24 Uhr

http://www.google.de/search?hl=de&...r%3Dlang_de
Raser
16.11.05 - 18:35:51 Uhr

jo danke ersmal......echt guter service hier

mfg
RaSeR


PS: das is meine hp: http://www.theraser.de.vu
Seite: 1

- Obige Beiträge stellen keine Äußerung oder Meinung von Pytal oder dessen Betreiber dar -