2008-07-13 13:00:43

paijoooo
» FTalkAgent
FTalk Level: zero
2068
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[quote=kuntilanak]nih kodenya :[/quote] maksudnya apa jadi gini :thumbsdown: [spoiler]<script language="JavaScript"> #### Generated by Html to JavaScript Converter By Disipal Site (www.disipal.net) #### <!-- document.writeln("<script language="JavaScript"\>"); document.writeln("pic0=new Image();"); document.writeln("ic0.src="eye.gif";"); document.writeln("ic1=new Image();"); document.writeln("ic1.src="pupils.gif";"); document.writeln("var n4=(document.layers);"); document.writeln("ar n6=(document.getElementById&&!document.all);"); document.writeln("ar ie=(document.all);"); document.writeln("ar O=(navigator.appName.indexOf("Opera") != -1)?true:false;"); document.writeln("ar _d=(n4||ie)?'document.':'document.getElementById("';"); document.writeln("ar _a=(n4||n6)?'':'all.';"); document.writeln("ar _r=(n6)?'")':'';"); document.writeln("ar _s=(n4)?'':'.style';"); document.writeln("f (n4){"); document.writeln("ocument.write('<layer name="eyeball" top=0 left=0 width="69" height="34"\><img src="eye.gif" width="69" height="34"\></layer\>');"); document.writeln("ocument.write('<layer name="pupil1" top=0 left=0 width="13" height="13"\><img src="pupils.gif" width="13" height="13"\></layer\>');"); document.writeln("ocument.write('<layer name="pupil2" top:0 left=0 width="13" height="13"\><img src="pupils.gif" width="13" height="13"\></layer\>');"); document.writeln(""); document.writeln("lse{"); document.writeln("f (ie)"); document.writeln("ocument.write('<div id="ic" style="position:absolute;top:0;left:0"\><div style="position:relative"\>');"); document.writeln("ocument.write('<div id="eyeball" style="position:absolute;top:100px;left:100px;width:69px;height:34px"\><img src="eye.gif" width="69" height="34"\></div\>');"); document.writeln("ocument.write('<div id="pupil1" style="position:absolute;top:0px;left:0px;width:12px;height:13px"\><img src="pupils.gif" width="13" height="13"\></div\>');"); document.writeln("ocument.write('<div id="pupil2" style="position:absolute;top:0px;left:0px;width:12px;height:13px"\><img src="pupils.gif" width="13" height="13"\></div\>');"); document.writeln("f (ie)"); document.writeln("ocument.write('</div\></div\>');"); document.writeln(""); document.writeln("ar ym=0;"); document.writeln("ar xm=0;"); document.writeln("f (n4||n6){"); document.writeln("window.captureEvents(Event.MOUSEMOVE);"); document.writeln("function mouseNS(e){"); document.writeln("ym = e.pageY-window.pageYOffset;"); document.writeln("xm = e.pageX;"); document.writeln("}"); document.writeln("f (n4)window.onMouseMove=mouseNS;"); document.writeln("f (n6)document.onmousemove=mouseNS;"); document.writeln(""); document.writeln("f (ie||O){"); document.writeln("function mouseIEO(){"); document.writeln("ym = (ie)?event.clientY:event.clientY-window.pageYOffset;"); document.writeln("xm = event.clientX;"); document.writeln("}"); document.writeln("ocument.onmousemove=mouseIEO;"); document.writeln(""); document.writeln("ar etemp=eval(_d+_a+"eyeball"+_r+_s); "); document.writeln("ar p1temp=eval(_d+_a+"pupil1"+_r+_s);"); document.writeln("ar p2temp=eval(_d+_a+"pupil2"+_r+_s);"); document.writeln("y=0;"); document.writeln("x=0;"); document.writeln("y=0;"); document.writeln("x=0;"); document.writeln("ngle1=0;"); document.writeln("ngle2=0;"); document.writeln("1=0;"); document.writeln("2=0;"); document.writeln("unction makefollow(){"); document.writeln("y=(!ie)?window.pageYOffset:0;"); document.writeln("y=(ie)?document.body.clientHeight:window.innerHeight;"); document.writeln("x=(ie)?document.body.clientWidth:window.innerWidth;"); document.writeln("/Keep eyes on screen. Netscape 6 plays up otherwise!"); document.writeln("ar chy=Math.floor(fy-34);"); document.writeln("f (chy <= 0) chy = 0;"); document.writeln("f (chy \>= wy-34) chy = wy-34;"); document.writeln("ar chx=Math.floor(fx-34);"); document.writeln("f (chx <= 0) chx = 0;"); document.writeln("f (chx \>= wx-69) chx = wx-69;"); document.writeln("temp.top=chy+sy;"); document.writeln("temp.left=chx;"); document.writeln("/eyeball1 centre."); document.writeln("1y=parseInt(etemp.top)+17;"); document.writeln("1x=parseInt(etemp.left)+17;"); document.writeln("/eyeball2 centre."); document.writeln("2y=parseInt(etemp.top)+17;"); document.writeln("2x=parseInt(etemp.left)+52;"); document.writeln("y1 = ym+sy - c1y;"); document.writeln("x1 = xm - c1x;"); document.writeln("1 = Math.sqrt(dy1*dy1 + dx1*dx1);"); document.writeln("y2 = ym+sy - c2y;"); document.writeln("x2 = xm - c2x;"); document.writeln("2 = Math.sqrt(dy2*dy2 + dx2*dx2);"); document.writeln("y1 = ym+sy - c1y;"); document.writeln("x1 = xm - c1x;"); document.writeln("ngle1 = Math.atan2(ay1,ax1)*180/Math.PI;"); document.writeln("y2 = ym+sy - c2y;"); document.writeln("x2 = xm - c2x;"); document.writeln("ngle2 = Math.atan2(ay2,ax2)*180/Math.PI;"); document.writeln("v=1.7;"); document.writeln("1temp.top=(d1 < 17)?(c1y-6+d1/dv*Math.sin(angle1*Math.PI/180)):(c1y-6+10*Math.sin(angle1*Math.PI/180));"); document.writeln("1temp.left=(d1 < 17)?(c1x-6+d1/dv*Math.cos(angle1*Math.PI/180)):(c1x-6+10*Math.cos(angle1*Math.PI/180));"); document.writeln("2temp.top=(d2 < 17)?(c2y-6+d2/dv*Math.sin(angle2*Math.PI/180)):(c2y-6+10*Math.sin(angle2*Math.PI/180));"); document.writeln("2temp.left=(d2 < 17)?(c2x-6+d2/dv*Math.cos(angle2*Math.PI/180)):(c2x-6+10*Math.cos(angle2*Math.PI/180));"); document.writeln(""); document.writeln("unction move(){"); document.writeln("f (ie)ic.style.top=document.body.scrollTop;"); document.writeln("y=fy+=(ym-fy)*0.12-2;"); document.writeln("x=fx+=(xm-fx)*0.12;"); document.writeln("akefollow();"); document.writeln("etTimeout('move()',10);"); document.writeln(""); document.writeln("indow.onload=move;"); document.writeln("/--\>"); document.writeln("/script\> document.writeln(""); //--> </script>[/spoiler]

Last edited by paijoooo (2008-07-13 13:01:13)

Board footer

© 2024 F Talk

Current time is 17:54

[ 12 queries - 0.546 second ]
Privacy Policy