2008-11-18 12:09:43

CoWoCuPu
» FTalkElite
FTalk Level: zero
4881
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

[b]dhanie_lim[/b] coba ini boss.. [spoiler][quote]<html> <head> <title>[b]judul enter page[/b]</title> <style type="text/css"> body { background-image:url([b]URL background[/b]); background-color:#999999; color:black; overflow:hidden; background-repeat:repeat; background-attachment: fixed; } </style> <script type="text/javascript"> //Snow - http://www.btinternet.com/~kurt.grigg/javascript if ((document.getElementById) && window.addEventListener || window.attachEvent){ (function(){ //Configure here. var num = 30; //Number of flakes var timer = 30; //setTimeout speed. Varies on different comps var enableinNS6 = 1 //Enable script in NS6/Mozilla? Snow animation could be slow in those browsers. (1=yes, 0=no). //End. var y = []; var x = []; var fall = []; var theFlakes = []; var sfs = []; var step = []; var currStep = []; var h,w,r; var d = document; var pix = "px"; var domWw = (typeof window.innerWidth == "number"); var domSy = (typeof window.pageYOffset == "number"); var idx = d.getElementsByTagName('div').length; if (d.documentElement.style && typeof d.documentElement.style.MozOpacity == "string") num = 12; for (i = 0; i < num; i++){ sfs[i] = Math.round(1 + Math.random() * 1); document.write('<div id="flake'+(idx+i)+'" style="position:absolute;top:0px;left:0px;width:' +sfs[i]+'px;height:'+sfs[i]+'px;background-color:#ffffff;font-size:'+sfs[i]+'px"><\/div>'); currStep[i] = 0; fall[i] = (sfs[i] == 1)? Math.round(2 + Math.random() * 2): Math.round(3 + Math.random() * 2); step[i] = (sfs[i] == 1)? 0.05 + Math.random() * 0.1 : 0.05 + Math.random() * 0.05 ; } if (domWw) r = window; else{ if (d.documentElement && typeof d.documentElement.clientWidth == "number" && d.documentElement.clientWidth != 0) r = d.documentElement; else{ if (d.body && typeof d.body.clientWidth == "number") r = d.body; } } function winsize(){ var oh,sy,ow,sx,rh,rw; if (domWw){ if (d.documentElement && d.defaultView && typeof d.defaultView.scrollMaxY == "number"){ oh = d.documentElement.offsetHeight; sy = d.defaultView.scrollMaxY; ow = d.documentElement.offsetWidth; sx = d.defaultView.scrollMaxX; rh = oh-sy; rw = ow-sx; } else{ rh = r.innerHeight; rw = r.innerWidth; } h = rh - 2; w = rw - 2; } else{ h = r.clientHeight - 2; w = r.clientWidth - 2; } } function scrl(yx){ var y,x; if (domSy){ y = r.pageYOffset; x = r.pageXOffset; } else{ y = r.scrollTop; x = r.scrollLeft; } return (yx == 0)?y:x; } function snow(){ var dy,dx; for (i = 0; i < num; i++){ dy = fall[i]; dx = fall[i] * Math.cos(currStep[i]); y[i]+y; x[i]+x; if (x[i] >= w || y[i] >= h){ y[i] = -10; x[i] = Math.round(Math.random() * w); fall[i] = (sfs[i] == 1)? Math.round(2 + Math.random() * 2): Math.round(3 + Math.random() * 2); step[i] = (sfs[i] == 1)? 0.05 + Math.random() * 0.1 : 0.05 + Math.random() * 0.05 ; } theFlakes[i].top = y[i] + scrl(0) + pix; theFlakes[i].left = x[i] + scrl(1) + pix; currStep[i]+=step[i]; } setTimeout(snow,timer); } function init(){ winsize(); for (i = 0; i < num; i++){ theFlakes[i] = document.getElementById("flake"+(idx+i)).style; y[i] = Math.round(Math.random()*h); x[i] = Math.round(Math.random()*w); } snow(); } if (window.addEventListener){ window.addEventListener("resize",winsize,false); window.addEventListener("load",init,false); } else if (window.attachEvent){ window.attachEvent("onresize",winsize); window.attachEvent("onload",init); } })(); }//End. </script> <script type="text/javascript"> var winheight=100 var winsize=100 var x=5 function openwindow(thelocation){ temploc=thelocation if (!(window.resizeTo&&document.all)&&!(window.resizeTo&&document.getElementById)){ window.open(thelocation) return } win2=window.open("","","scrollbars") win2.moveTo(0,0) win2.resizeTo(100,100) go2() } function go2(){ if (winheight>=screen.availHeight-3) x=0 win2.resizeBy(5,x) winheight+=5 winsize+=5 if (winsize>=screen.width-5){ win2.location=temploc winheight=100 winsize=100 x=5 return } setTimeout("go2()",50) } </script> </head> <BODY> <style> .shakeimage{ position:relative } .marq { width: 500px; } </style> <script language="JavaScript1.2"> /* Shake image script (onMouseover)- © Dynamic Drive (www.dynamicdrive.com) For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com */ //configure shake degree (where larger # equals greater shake) var rector=3 ///////DONE EDITTING/////////// var stopit=0 var a=1 function init(which){ stopit=0 shake=which shake.style.left=0 shake.style.top=0 } function rattleimage(){ if ((!document.all&&!document.getElementById)||stopit==1) return if (a==1){ shake.style.top=parseInt(shake.style.top)+rector } else if (a==2){ shake.style.left=parseInt(shake.style.left)+rector } else if (a==3){ shake.style.top=parseInt(shake.style.top)-rector } else{ shake.style.left=parseInt(shake.style.left)-rector } if (a<4) a++ else a=1 setTimeout("rattleimage()",50) } function stoprattle(which){ stopit=1 which.style.left=0 which.style.top=0 } </script> <div id="gambar" align="middle"> <a href="javascript:openwindow('http://profiles.friendster.com/user.php?uid=[b]UID FS kamu[/b]')"> <img src="[b]URL GAMBAR untuk nge link ke FS[/b]" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()"></a><br /><br /> <body> <div align="left"> <p> </p> <p> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="200"> <param name="movie" value=" [b]URL SWF KAMU[/b]"> <param name="quality" value="high"> <embed src=" [b]URL SWF KAMU[/b]" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="200"></embed> </object> <div class="blink"> <marquee style="border:transparent 1px ridge"><font face="Comic San Ms" color="red" size="5">[b]TEXT KAMU DISINI[/b]</font></blink> </div> <th height="30"> </th> <th> </th> <th> </th> <th> </th> <th colspan="2" valign="top"><div align="center"><a href="http://www.friendster.com"><img src="[b]URL IMAGE UNTUK HOME[/b]" width="150" height="30" border="0"></a> </th> <th colspan="2" valign="top"><a href="http://www.friendster.com/comments.php?uid=[b]UID FS KAMU[/b]"><img src="[b]URL IMAGE UNTUK COMMENT[/b]" width="150" height="30" border="0"></a></th> <div align='center'><fieldset style='border:1px inset transparent; width:240px; height:250px;'><legend align='left'><font color='white' size='4'>Credit to</font></legend><p align='center'><marquee direction='up' scrollamount='2' onmouseover='this.stop()' onmouseout='this.start()' width='240'> <a href="[b]URL FS[/b]"><font color='RED'>[b]NAMA ORGNYA[/b]</font></a> <br> <a href="[b]URL FS[/b]"><font color='RED'>[b]NAMA ORGNYA[/b]</font></a> <br> <a href="[b]URL FS[/b]"><font color='RED'>[b]NAMA ORGNYA[/b]</font></a> <br> <a href="[b]URL FS[/b]"><font color='RED'>[b]NAMA ORGNYA[/b]</font></a> <br> <a href="[b]URL FS[/b]"><font color='RED'>[b]NAMA ORGNYA[/b]</font></a> <br> <a href="[b]URL FS[/b]"><font color='RED'>[b]NAMA ORGNYA[/b]</font></a> </td> </BODY> </html>[/quote] [/spoiler] tinggal ganti aja yg di boldnya dan save dlm bentuk format .html contoh:intro.html step 2: masukan kode js di bawah ini dan simpan di bagian [color=red][b]A[/b][/color] :thumbsdown: [quote]var myplace = document.location.href; if (myplace == "http://profiles.friendster.com/user.php?uid=[b]UID FS KAMU[/b]"){ } else if (myplace == "http://profiles.friendster.com/user.php?uid=[b]UID FS KAMU[/b]"){ } else { location.href = "[b]URL HTML KAMU[/b]"; }[/quote] gitu doang ko. gampang khan boss.! :)

Board footer

© 2024 F Talk

Current time is 04:52

[ 12 queries - 0.242 second ]
Privacy Policy