2008-09-04 06:49:32

irwan_syah
» FTalker
FTalk Level: zero
283
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

sore smua,, uh ya aku mau minta bantua nich,, aku nemu kode,tapi aku g' tau ntu kode apa....aku pasang ada futu aku,tapi kuk gede ya,, aku mauna futu yg muncul ntu kcl,,,,bisa bantuin g' smua,, please nich kodena,, :arrow: //h1.ripway.com/marlon79 P=new Image(); P.src="http://photos.friendster.com/photos/09/62/55492690/1_644259799l.jpg"; //Pre-load your image here! SY=3; //Up-down speed! SX=5; //Left-right speed! LINK="#"; //Acak gambar! n6=(document.getElementById&&!document.all); ns=(document.layers); ie=(document.all); d=(ns||ie)?'document.':'document.getElementById("'; a=(ns||n6)?'':'all.'; n6r=(n6)?'")':''; s=(ns)?'':'.style'; if (ns){ document.write("<marlon_it_cool...='pics' LEFT=0 TOP=0><a href="+LINK+"><img src='6786un8.gif' border=0></a></LAYER>"); } if (ie||n6){ document.write("<div id='pics' style='position:absolute;top:0px;left:0px'><a href="+LINK+"><img src="+P.src+" border=0></a></div>"); } R=0,C1=0;PB=0,Y=0,X=0,D=0,VB=0,HB=0; Y=10;X=10;D=Math.floor(Math.random()*60+10); function Curve(){ plusMinus=new Array(1,-1,2,-2,3,-3,0,1,-1,4,-4) R = plusMinus[Math.floor(Math.random()*plusMinus.length)]; } function MoveRandom(){ C1++; if (C1==50){Curve();C1=0} var H=(ns||n6)?window.innerHeight:document.body.clientHeight; var W=(ns||n6)?window.innerWidth:document.body.clientWidth; var YS=(ns||n6)?window.pageYOffset:document.body.scrollTop; var XS=(ns||n6)?window.pageXOffset:document.body.scrollLeft; var BY=-P.height; var BX=-P.width; PB=D+=R; y = SY*Math.sin(PB*Math.PI/180); x = SX*Math.cos(PB*Math.PI/180); if (D < 0) D+=360; Y+=y; X+=x; VB=180-D; HB=0-D; //Korner rebound, Flying picture. if ((Y < 1) && (X < 1)) {Y=1;X=1;D=45;} if ((Y < 1) && (X > W+BX)) {Y=1;X=W+BX;D=135;} if ((Y > H+BY) && (X < 1)) {Y=H+BY;X=1;D=315;} if ((Y > H+BY) && (X > W+BX)) {Y=H+BY;X=W+BX;D=225;} //Edge rebounds! if (Y < 1) {Y=1;D=HB;} if (Y > H+BY) {Y=H+BY;D=HB;} if (X < 1) {X=1;D=VB;} if (X > W+BX) {X=W+BX;D=VB;} var temp=eval(d+a+"pics"+n6r+s); temp.top=Y+YS; temp.left=X+XS; setTimeout('MoveRandom()',10); } MoveRandom(); //-->

Board footer

© 2024 F Talk

Current time is 23:00

[ 12 queries - 0.226 second ]
Privacy Policy