ÜÇ BOYUTLU 1 <style type="text/css"> </style> ÜÇ BOYUTLU 2 <style type="text/css"> </style> ÜÇ BOYUTLU 3 <style type="text/css"> </style> HAVAİ FİŞEK <body bgcolor="#000066"> <script language="JavaScript"> if (document.all){ yourLogo='etQ?*Wzwin!+€©ldr®@ hoxc$&7'; logoFont='Arial'; logoColor='115585'; yourLogo=yourLogo.split(''); L=yourLogo.length; H=0; W=0; R=0; E=0; MY=0; MX=0; Wd=0; Hd=0; F=new Array(); Y=new Array(); X=new Array(); S=new Array(); A=new Array(); B=new Array(); document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < L; i++) document.write('<div id="ie" style="position:absolute;top:0;left:0;width:10px;height:10px;' +'font-family:'+logoFont+';font-size:50px;color:'+logoColor+'">'+yourLogo[i]+'</div>'); document.write('</div></div>'); function Set(){ for (i=0; i < L; i++){ H=window.document.body.offsetHeight; W=window.document.body.offsetWidth; A[i]=Math.round(Math.random()*H); B[i]=Math.round(Math.random()*W); S[i]=Math.random()*0.07+0.05; R=Math.round(Math.random()*3); E=Math.round(Math.random()*2500+50) if (R == 3) B[i]=-E; if (R == 2) B[i]=W+E; if (R == 1) A[i]=-E; if (R == 0) A[i]=H; F[i]=W/10; } } Set(); function Assign(){ outer.style.top=document.body.scrollTop; for (i=0; i < L; i++){ F[i]-=S[i]*55; if (F[i] < 2) F[i]=1; ie[i].style.top =Y[i]; ie[i].style.left=X[i]; ie[i].style.fontSize=F[i]; } } function fly(){ MY=window.document.body.clientHeight/2; MX=window.document.body.clientWidth/2; Wd=Math.round(Math.random()*40+5); Hd=Math.round(Math.random()*30+5); for (i=0; i < L; i++) { Y[i]=A[i]+=(MY-A[i])*(S[i]); X[i]=B[i]+=(MX-B[i])*(S[i]); if ((X[i] > MX-Wd) && (X[i] < MX+Wd) && (Y[i] > MY-Hd) && (Y[i] < MY+Hd)){ H=window.document.body.offsetHeight; W=window.document.body.offsetWidth; A[i]=Math.round(Math.random()*H); B[i]=Math.round(Math.random()*W); S[i]=Math.random()*0.05+0.05; R=Math.round(Math.random()*3); E=Math.round(Math.random()*50+50) if (R == 3) B[i]=-E; if (R == 2) B[i]=W+E; if (R == 1) A[i]=-E; if (R == 0) A[i]=H+E; } if ((X[i] < 0) || (X[i] > W) || (Y[i] < 0) || (Y[i] > H)) F[i]=W/10; } Assign(); setTimeout('fly()',20); } window.onload=fly; } </script> UZAY ARKAPLAN 2 <body bgcolor=#000000 onLoad="fly()"> <script language="JavaScript"> SmallStars = 30; LargeStars = 10; SmallYpos = new Array(); SmallXpos = new Array(); LargeYpos = new Array(); LargeXpos = new Array(); Smallspeed= new Array(); Largespeed= new Array(); ns=(document.layers)?1:0; if (ns){ for (i = 0; i < SmallStars; i++) {document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFF0' CLIP='0,0,1,1'></LAYER>")} for (i = 0; i < LargeStars; i++) {document.write("<LAYER NAME='ln"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFFF' CLIP='0,0,2,2'></LAYER>")} } else{ document.write('<div style="position:absolute;top:0px;left:0px">'); document.write('<div style="position:relative">'); for (i = 0; i < SmallStars; i++) {document.write('<div id="si" style="position:absolute;top:0;left:0;width:1px;height:1px;background:#fffff0;font-size:1px"></div>')} document.write('</div>'); document.write('</div>'); document.write('<div style="position:absolute;top:0px;left:0px">'); document.write('<div style="position:relative">'); for (i = 0; i < LargeStars; i++) {document.write('<div id="li" style="position:absolute;top:0;left:0;width:2px;height:2px;background:#ffffff;font-size:2px"></div>')} document.write('</div>'); document.write('</div>'); } WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight; WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth; //Inital placement! for (i=0; i < SmallStars; i++) { SmallYpos[i] = Math.round(Math.random()*WinHeight); SmallXpos[i] = Math.round(Math.random()*WinWidth); Smallspeed[i]= Math.random()*5+1; } for (i=0; i < LargeStars; i++) { LargeYpos[i] = Math.round(Math.random()*WinHeight); LargeXpos[i] = Math.round(Math.random()*WinWidth); Largespeed[i]= Math.random()*10+5; } function fly(){ var WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight; var WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth; var hscrll=(document.layers)?window.pageYOffset:document.body.scrollTop; var wscrll=(document.layers)?window.pageXOffset:document.body.scrollLeft; for (i=0; i < LargeStars; i++) { LargeXpos[i]-=Largespeed[i]; if (LargeXpos[i] < -10) { LargeXpos[i]=WinWidth; LargeYpos[i]=Math.round(Math.random()*WinHeight); Largespeed[i]=Math.random()*10+5; } if (ns){ document.layers['ln'+i].left=LargeXpos[i]; document.layers['ln'+i].top=LargeYpos[i]+hscrll; } else{ li[i].style.pixelLeft=LargeXpos[i]; li[i].style.pixelTop=LargeYpos[i]+hscrll; } } for (i=0; i < SmallStars; i++) { SmallXpos[i]-=Smallspeed[i]; if (SmallXpos[i] < -10) { SmallXpos[i]=WinWidth; SmallYpos[i]=Math.round(Math.random()*WinHeight); Smallspeed[i]=Math.random()*5+1; } if (ns){ document.layers['sn'+i].left=SmallXpos[i]; document.layers['sn'+i].top=SmallYpos[i]+hscrll; } else{ si[i].style.pixelLeft=SmallXpos[i]; si[i].style.pixelTop=SmallYpos[i]+hscrll; } } setTimeout('fly()',10); } //--> </script> DÖKÜLEN YAPRAK <body bgcolor="#ebe2d3" onLoad="fall()"> <script language="JavaScript"> <!-- Image0=new Image(); Image0.src="al.gif"; Image1=new Image(); Image1.src="bl.gif"; Image2=new Image(); Image2.src="cl.gif"; Image3=new Image(); Image3.src="dl.gif"; Image4=new Image(); Image4.src="el.gif"; Image5=new Image(); Image5.src="fl.gif"; grphcs=new Array(6) grphcs[0]="al.gif" grphcs[1]="bl.gif" grphcs[2]="cl.gif" grphcs[3]="dl.gif" grphcs[4]="el.gif" grphcs[5]="fl.gif" Amount=10; //İmage sayısı! Ypos=new Array(); Xpos=new Array(); Speed=new Array(); Step=new Array(); Cstep=new Array(); ns=(document.layers)?1:0; if (ns){ for (i = 0; i < Amount; i++){ var P=Math.floor(Math.random()*grphcs.length); rndPic=grphcs[P]; document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>"); } } else{ document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i = 0; i < Amount; i++){ var P=Math.floor(Math.random()*grphcs.length); rndPic=grphcs[P]; document.write('<img id="si" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">'); } document.write('</div></div>'); } WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight; WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth; for (i=0; i < Amount; i++){ Ypos[i] = Math.round(Math.random()*WinHeight); Xpos[i] = Math.round(Math.random()*WinWidth); Speed[i]= Math.random()*2+2; Cstep[i]=0; Step[i]=Math.random()*0.1+0.05; } function fall(){ var WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight; var WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth; var hscrll=(document.layers)?window.pageYOffset:document.body.scrollTop; var wscrll=(document.layers)?window.pageXOffset:document.body.scrollLeft; for (i=0; i < Amount; i++){ sy = Speed[i]*Math.sin(90*Math.PI/180); sx = Speed[i]*Math.cos(Cstep[i]); Ypos[i]+=sy; Xpos[i]+=sx; if (Ypos[i] > WinHeight){ Ypos[i]=-60; Xpos[i]=Math.round(Math.random()*WinWidth); Speed[i]=Math.random()*2+2; } if (ns){ document.layers['sn'+i].left=Xpos[i]; document.layers['sn'+i].top=Ypos[i]+hscrll; } else{ si[i].style.pixelLeft=Xpos[i]; si[i].style.pixelTop=Ypos[i]+hscrll; } Cstep[i]+=Step[i]; } setTimeout('fall()',10); } //--> </script> TEK TUŞLA ZEMİN RENGİ DEĞİŞTİRME <center><FORM> <INPUT TYPE="button" VALUE="beyaz" ONCLICK="document.bgColor='white'"> <INPUT TYPE="button" VALUE="Gümüş" ONCLICK="document.bgColor='silver'"> <INPUT TYPE="button" VALUE="SARI" ONCLICK="document.bgColor='YELLOW'"> <INPUT TYPE="button" VALUE="azure" ONCLICK="document.bgColor='azure'"> <INPUT TYPE="button" VALUE="Açık Yeşil" ONCLICK="document.bgColor='lightgreen'"> <INPUT TYPE="button" VALUE="Yeşil" ONCLICK="document.bgColor='green'"> <INPUT TYPE="button" VALUE="Açık Mavi" ONCLICK="document.bgColor='lightblue'"> <INPUT TYPE="button" VALUE=" Mavi" ONCLICK="document.bgColor='blue'"> <INPUT TYPE="button" VALUE="Mor" ONCLICK="document.bgColor='purple'"> <INPUT TYPE="button" VALUE="Ela" ONCLICK="document.bgColor='hazel-colored '"> <INPUT TYPE="button" VALUE="Turuncu" ONCLICK="document.bgColor='orange'"> <INPUT TYPE="button" VALUE="Turkuaz" ONCLICK="document.bgColor='turquoise'"> <INPUT TYPE="button" VALUE="Kırmızı" ONCLICK="document.bgColor='red'"> <INPUT TYPE="button" VALUE="Pembe" ONCLICK="document.bgColor='pink'"> <INPUT TYPE="button" VALUE="Kahve" ONCLICK="document.bgColor='brown'"> </FORM></center> RENGİ ZİYARETÇİ DEĞİŞTİRSİN <select name="schemesel" onChange="document.bgColor = this.options[selectedIndex].value" size="1" style="background-color: rgb(57,57,57); color: rgb(255,255,255)"> <option value="" selected>NORMAL</option> <option value="000000">SYYAH</option> <option value="A0A0A0">GRY </option> <option value="A0EFAA0ACFA">LACYVERT</option> <option value="0000FF"> KOYU MAVY </option> <option value="A0A0FF">?AFAK MAVYSY </option> <option value="0FAFAFECF00">AÇIK MAVY </option> <option value="C0EEE0F0FA">SOLUK MAVY</option> <option value="E9E900">SARI </option> <option value="FFFFA0">AÇIK SARI </option> <option value="FAFAFAF0AFAFAFAF0A">SOLUK SARI </option> <option value="C70000">KIRMIZI </option> <option value="F0F0000FA">AÇIK KIRMIZI</option> <option value="F0F0FA">YNCY BEYAZI</option> <option value="A80E0F0ECCA">KOYU MOR</option> <option value="FF00FF">MOR </option> <option value="F0F0FACECEEEF0AAA">SOLUK MOR</option> <option value="00FFFF">TURKUAZ </option> <option value=" E70C0A00F">YESYL </option> <option value="A0EFAA0A">AÇIK YE?YL</option> <option value="C80E0F0E0CCCEF">SOLUK YESYL</option> <option value="FF0CEAF00">PEMBE</option> </select>
UÇAN RENKLER <<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Mausangriff</title> </head> <body bgcolor="#000000"> <script language="JavaScript"> <!-- Dieses Script wurde erhalten bei www.helferlein--> var speed=20,divTop=0,divLeft=0,angle=0,ypos=0,xpos=0,amount=13; if (document.layers){ for (i = 0; i < amount; i++) {document.write('<layer name=nsa'+i+' top=0 left=0 width='+i/3+' height='+i/3+' bgcolor=#ffffff></layer>');} window.captureEvents(Event.MOUSEMOVE); function nsMouse(evnt){ xpos=evnt.pageX;ypos=evnt.pageY; } window.onMouseMove = nsMouse; } else if (document.all){ document.write('<div style="position:absolute;top:0px;left:0px">'); document.write('<div style="position:relative">'); for (i = 0; i < amount; i++) {document.write('<div id=k style="position:absolute;top:0px;left:0px;width:'+i/3+';height:'+i/3+';backgroun<img src="http://www.beepworld.de/memberdateien/members32/dbzrocco/#666666;font-size:'+i/3+'"></div>')} document.write('</div></div>'); function iMouse(){xpos=event.x;ypos=document.body.scrollTop+event.y} document.onmousemove = iMouse; } function getAngle(){ Y = ypos - divTop;X = xpos - divLeft;angle = Math.round(Math.atan2(Y,X) * 180/Math.PI); if (angle < 0)angle += 360; } function bomb(){ if (document.layers){ Yscroll=window.pageYOffset; ybase=Math.round(Math.random()*window.innerHeight);xbase=Math.round(Math.random()*window.innerWidth); yybase=window.innerHeight-10;xxbase=window.innerWidth-10; } else if (document.all){ Yscroll=document.body.scrollTop; ybase=Math.round(Math.random()*window.document.body.offsetHeight);xbase=Math.round(Math.random()*window.document.body.offsetWidth); xxbase=window.document.body.offsetWidth-10;yybase=window.document.body.offsetHeight-10; } if ((xbase > 10 && xbase < xxbase) && (ybase > 10 && ybase < yybase)) bomb(); else { if ((divLeft > xpos-speed/1.5) && (divLeft < xpos+speed/1.5) && (divTop >= ypos-speed/1.5) && (divTop <= ypos+speed/1.5)) {divTop=ybase+Yscroll;divLeft=xbase} y = Math.round(speed*Math.sin(angle*Math.PI/180));x = Math.round(speed*Math.cos(angle*Math.PI/180)); divTop+=y;divLeft+=x; getAngle(); T=setTimeout('bomb()',20); } } function Split(){ Clrs=new Array('ff0000','0000ff','ffff00') var ntscp=document.layers,msie=document.all; if (document.layers){ for (i = 0; i < amount; i++) { if (i < amount-1) {ntscp['nsa'+i].top=ntscp['nsa'+(i+1)].top;ntscp['nsa'+i].left=ntscp['nsa'+(i+1)].left} else {ntscp['nsa'+i].top=divTop;ntscp['nsa'+i].left=divLeft} } } else if (document.all){ for (i = 0; i < amount; i++) { if (i < amount-1) {msie.k[i].style.top=msie.k[i+1].style.top;msie.k[i].style.left=msie.k[i+1].style.left} else {msie.k[i].style.top=divTop;msie.k[i].style.left=divLeft} } } for (i=0; i < amount-1; i++) { for (n=0; n < Clrs.length; n++) {var x=Math.round(Math.random()*n)} if (document.layers){ntscp['nsa'+i].bgColor=Clrs[x]} else if (document.all){msie.k[i].style.background=Clrs[x]} } setTimeout("Split()",20); } function StArT(){bomb();Split()} window.onload=StArT; //--> </script> </BODY> </html>> UÇAN HARFLER 2 <body bgcolor="#000066"> <script language="JavaScript"> if (document.all){ yourLogo='etQ?*Wzwin!+€©ldr®@ hoxc$&7'; logoFont='Arial'; logoColor='115585'; yourLogo=yourLogo.split(''); L=yourLogo.length; H=0; W=0; R=0; E=0; MY=0; MX=0; Wd=0; Hd=0; F=new Array(); Y=new Array(); X=new Array(); S=new Array(); A=new Array(); B=new Array(); document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < L; i++) document.write('<div id="ie" style="position:absolute;top:0;left:0;width:10px;height:10px;' +'font-family:'+logoFont+';font-size:50px;color:'+logoColor+'">'+yourLogo[i]+'</div>'); document.write('</div></div>'); function Set(){ for (i=0; i < L; i++){ H=window.document.body.offsetHeight; W=window.document.body.offsetWidth; A[i]=Math.round(Math.random()*H); B[i]=Math.round(Math.random()*W); S[i]=Math.random()*0.07+0.05; R=Math.round(Math.random()*3); E=Math.round(Math.random()*2500+50) if (R == 3) B[i]=-E; if (R == 2) B[i]=W+E; if (R == 1) A[i]=-E; if (R == 0) A[i]=H; F[i]=W/10; } } Set(); function Assign(){ outer.style.top=document.body.scrollTop; for (i=0; i < L; i++){ F[i]-=S[i]*55; if (F[i] < 2) F[i]=1; ie[i].style.top =Y[i]; ie[i].style.left=X[i]; ie[i].style.fontSize=F[i]; } } function fly(){ MY=window.document.body.clientHeight/2; MX=window.document.body.clientWidth/2; Wd=Math.round(Math.random()*40+5); Hd=Math.round(Math.random()*30+5); for (i=0; i < L; i++) { Y[i]=A[i]+=(MY-A[i])*(S[i]); X[i]=B[i]+=(MX-B[i])*(S[i]); if ((X[i] > MX-Wd) && (X[i] < MX+Wd) && (Y[i] > MY-Hd) && (Y[i] < MY+Hd)){ H=window.document.body.offsetHeight; W=window.document.body.offsetWidth; A[i]=Math.round(Math.random()*H); B[i]=Math.round(Math.random()*W); S[i]=Math.random()*0.05+0.05; R=Math.round(Math.random()*3); E=Math.round(Math.random()*50+50) if (R == 3) B[i]=-E; if (R == 2) B[i]=W+E; if (R == 1) A[i]=-E; if (R == 0) A[i]=H+E; } if ((X[i] < 0) || (X[i] > W) || (Y[i] < 0) || (Y[i] > H)) F[i]=W/10; } Assign(); setTimeout('fly()',20); } window.onload=fly; } </script> UZAY ARKAPLAN 3 <body bgcolor=#000000 onLoad="fly()"> <script language="JavaScript"> SmallStars = 30; LargeStars = 10; SmallYpos = new Array(); SmallXpos = new Array(); LargeYpos = new Array(); LargeXpos = new Array(); Smallspeed= new Array(); Largespeed= new Array(); ns=(document.layers)?1:0; if (ns){ for (i = 0; i < SmallStars; i++) {document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFF0' CLIP='0,0,1,1'></LAYER>")} for (i = 0; i < LargeStars; i++) {document.write("<LAYER NAME='ln"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFFF' CLIP='0,0,2,2'></LAYER>")} } else{ document.write('<div style="position:absolute;top:0px;left:0px">'); document.write('<div style="position:relative">'); for (i = 0; i < SmallStars; i++) {document.write('<div id="si" style="position:absolute;top:0;left:0;width:1px;height:1px;background:#fffff0;font-size:1px"></div>')} document.write('</div>'); document.write('</div>'); document.write('<div style="position:absolute;top:0px;left:0px">'); document.write('<div style="position:relative">'); for (i = 0; i < LargeStars; i++) {document.write('<div id="li" style="position:absolute;top:0;left:0;width:2px;height:2px;background:#ffffff;font-size:2px"></div>')} document.write('</div>'); document.write('</div>'); } WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight; WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth; //Inital placement! for (i=0; i < SmallStars; i++) { SmallYpos[i] = Math.round(Math.random()*WinHeight); SmallXpos[i] = Math.round(Math.random()*WinWidth); Smallspeed[i]= Math.random()*5+1; } for (i=0; i < LargeStars; i++) { LargeYpos[i] = Math.round(Math.random()*WinHeight); LargeXpos[i] = Math.round(Math.random()*WinWidth); Largespeed[i]= Math.random()*10+5; } function fly(){ var WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight; var WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth; var hscrll=(document.layers)?window.pageYOffset:document.body.scrollTop; var wscrll=(document.layers)?window.pageXOffset:document.body.scrollLeft; for (i=0; i < LargeStars; i++) { LargeXpos[i]-=Largespeed[i]; if (LargeXpos[i] < -10) { LargeXpos[i]=WinWidth; LargeYpos[i]=Math.round(Math.random()*WinHeight); Largespeed[i]=Math.random()*10+5; } if (ns){ document.layers['ln'+i].left=LargeXpos[i]; document.layers['ln'+i].top=LargeYpos[i]+hscrll; } else{ li[i].style.pixelLeft=LargeXpos[i]; li[i].style.pixelTop=LargeYpos[i]+hscrll; } } for (i=0; i < SmallStars; i++) { SmallXpos[i]-=Smallspeed[i]; if (SmallXpos[i] < -10) { SmallXpos[i]=WinWidth; SmallYpos[i]=Math.round(Math.random()*WinHeight); Smallspeed[i]=Math.random()*5+1; } if (ns){ document.layers['sn'+i].left=SmallXpos[i]; document.layers['sn'+i].top=SmallYpos[i]+hscrll; } else{ si[i].style.pixelLeft=SmallXpos[i]; si[i].style.pixelTop=SmallYpos[i]+hscrll; } } setTimeout('fly()',10); } //--> </script> RESİMLİ ARKAPLAN <body style=" background: white url(http://www.gezginler.net/images/camel.gif); background-repeat: no-repeat">
SU BALONCUKLARI <BODY bgcolor="#ebe2d3"> <script language="JavaScript"> <!-- Image0=new Image(); Image0.src="bub2.gif"; Amount=20; Ypos=new Array(); Xpos=new Array(); Speed=new Array(); rate=new Array(); grow=new Array(); Step=new Array(); Cstep=new Array(); nsSize=new Array(); ns=(document.layers)?1:0; WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight; WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth; for (i=0; i < Amount; i++){ Ypos[i] = Math.round(Math.random()*WinHeight); Xpos[i] = Math.round(Math.random()*WinWidth); Speed[i]= Math.random()*2+2; Cstep[i]=0; Step[i]=Math.random()*0.1+0.05; grow[i]=10; nsSize[i]=Math.random()*15+5; } if (ns){ for (i = 0; i < Amount; i++){ document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+Image0.src+" name='N' width="+nsSize[i]+" height="+nsSize[i]+"></LAYER>"); } } else{ document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i = 0; i < Amount; i++){ document.write('<img id="si" src="'+Image0.src+'" style="position:absolute;top:0px;left:0px;filter:alpha(opacity=60)">'); } document.write('</div></div>'); } function bubbles(){ var WinHeight=(document.layers)?window.innerHeight:window.document.body.clientHeight; var WinWidth=(document.layers)?window.innerWidth:window.document.body.clientWidth; var hscrll=(document.layers)?window.pageYOffset:document.body.scrollTop; var wscrll=(document.layers)?window.pageXOffset:document.body.scrollLeft; for (i=0; i < Amount; i++){ sy = Speed[i]*Math.sin(200*Math.PI/180); sx = Speed[i]*Math.cos(Cstep[i]); Ypos[i]+=sy; Xpos[i]+=sx; rate[i]=0.4; if (Ypos[i] < -50){ Ypos[i]=WinHeight+50; Xpos[i]=Math.round(Math.random()*WinWidth); Speed[i]=Math.random()*2+2; grow[i]=2; nsSize[i]=Math.random()*15+5; } if (ns){ document.layers['sn'+i].left=Xpos[i]+wscrll; document.layers['sn'+i].top=Ypos[i]+hscrll; } else{ si[i].style.pixelLeft=Xpos[i]+wscrll; si[i].style.pixelTop=Ypos[i]+hscrll; si[i].style.width=grow[i]; si[i].style.height=grow[i]; } grow[i]+=rate[i]; Cstep[i]+=Step[i]; if (grow[i] > 24) grow[i]=25; } setTimeout('bubbles()',10); } bubbles(); //--> </script> </body> KAR YAĞDIR <body bgcolor=#000000 onLoad="snow()"> <script language="JavaScript"> N = 40; Y = new Array(); X = new Array(); S = new Array(); A = new Array(); B = new Array(); M = new Array(); V = (document.layers)?1:0; iH=(document.layers)?window.innerHeight:window.document.body.clientHeight; iW=(document.layers)?window.innerWidth:window.document.body.clientWidth; for (i=0; i < N; i++){ Y[i]=Math.round(Math.random()*iH); X[i]=Math.round(Math.random()*iW); S[i]=Math.round(Math.random()*5+2); A[i]=0; B[i]=Math.random()*0.1+0.1; M[i]=Math.round(Math.random()*1+1); } if (V){ for (i = 0; i < N; i++) {document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFF0' CLIP='0,0,"+M[i]+","+M[i]+"'></LAYER>")} } else{ document.write('<div style="position:absolute;top:0px;left:0px">'); document.write('<div style="position:relative">'); for (i = 0; i < N; i++) {document.write('<div id="si" style="position:absolute;top:0;left:0;width:'+M[i]+';height:'+M[i]+';background:#fffff0;font-size:'+M[i]+'"></div>')} document.write('</div></div>'); } function snow(){ var H=(document.layers)?window.innerHeight:window.document.body.clientHeight; var W=(document.layers)?window.innerWidth:window.document.body.clientWidth; var T=(document.layers)?window.pageYOffset:document.body.scrollTop; var L=(document.layers)?window.pageXOffset:document.body.scrollLeft; for (i=0; i < N; i++){ sy=S[i]*Math.sin(90*Math.PI/180); sx=S[i]*Math.cos(A[i]); Y[i]+=sy; X[i]+=sx; if (Y[i] > H){ Y[i]=-10; X[i]=Math.round(Math.random()*W); M[i]=Math.round(Math.random()*1+1); S[i]=Math.round(Math.random()*5+2); } if (V){document.layers['sn'+i].left=X[i];document.layers['sn'+i].top=Y[i]+T} else{si[i].style.pixelLeft=X[i];si[i].style.pixelTop=Y[i]+T} A[i]+=B[i]; } setTimeout('snow()',10); } </script>