2008-07-30 21:56:35

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

all.... tolong check'in kode gw ini dunk.... :thumbsdown: [spoiler] //force log in credits goes to friendstertalk if(pageViewerID==""){ alert("log in dolo iap."); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } var css; try { css = document.createElement("link"); }catch(e) { css = document.createElement("<link>"); } css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://cowocupu.fileave.com/custom.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); //onload handler function onProfileLoad() { //insert generated boxes here var header="mY FrIeNd`s"; var code="<center><div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='62116644'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_165802448l-1.jpg'></a></div><div class='dr'><a href='62116644'>YuMiKo</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='11156728'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_434328297l-1.jpg'></a></div><div class='dr'><a href='11156728'>mIcHaEl</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='31758106'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_157564468l-1.jpg'></a></div><div class='dr'><a href='31758106'>WuLaN</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='23584929'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_286129988l.jpg'></a></div><div class='dr'><a href='23584929'>DeViKa</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='13716493'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_823938361l.jpg'></a></div><div class='dr'><a href='13716493'>MaRsHeLLa</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='16203331'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_406135031l.jpg'></a></div><div class='dr'><a href='16203331'>sTeVeN</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='53709339'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_323128753l.jpg'></a></div><div class='dr'><a href='53709339'>G-ThaNKz</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='22760673'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/454250075l.jpg'></a></div><div class='dr'><a href='22760673'>T`Joo SaM</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='45243247'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_648387670l.jpg'></a></div><div class='dr'><a href='45243247'>VeBi</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='47941015'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_290380946l.jpg'></a></div><div class='dr'><a href='47941015'>LiSa</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='19012459'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_820398014l.jpg'></a></div><div class='dr'><a href='19012459'>HeIdY</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='10685519'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_430195217l.jpg '></a></div><div class='dr'><a href='10685519'>ViOnA</a></div></div><br> "<div class='flogriditem'><div class='ir'><a href='41132012'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_810401872l.jpg'></a></div><div class='dr'><a href='41132012'>sTeFaNi</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='42617010'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_816070228l.jpg'></a></div><div class='dr'><a href='42617010'>CaRoLiNe</a></div></div><br> "<div class='flogriditem'><div class='ir'><a href='41132068'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_969985075l.jpg'></a></div><div class='dr'><a href='41132068'>LiNa</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='35688289'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_434589722l.jpg'></a></div><div class='dr'><a href='35688289'>dIaN</a></div></div><br> "<div class='flogriditem'><div class='ir'><a href='28425837'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_668806136l.jpg'></a></div><div class='dr'><a href='28425837'>DJ`WiLLzZ</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='43089763'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_410733505l.jpg'></a></div><div class='dr'><a href='43089763'>MaRTiN</a></div></div><br> "<div class='flogriditem'><div class='ir'><a href='41602603'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_752013482l.jpg'></a></div><div class='dr'><a href='41602603'>YoOo</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='38609250'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_425178687l.jpg'></a></div><div class='dr'><a href='38609250'>DeViNa</a></div></div><br> "<div class='flogriditem'><div class='ir'><a href='13781591'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_709164573l.jpg'></a></div><div class='dr'><a href='13781591'>FaNDi</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='52948380'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_413548275l.jpg'></a></div><div class='dr'><a href='52948380'>HaLiM</a></div></div><br>" "<div class='flogriditem'><div class='ir'><a href='30532468'><img src='http://i284.photobucket.com/albums/ll27/cOwOcUpU/1_565714825l.jpg'></a></div><div class='dr'><a href='30532468'>HaNzEl</a></div></div><br>" "</div></div><br></div></div><div class='viewall'><a href='/friends/49318470'>View All(9999)</a></div></center>"; addBox(header,code,"custombox_424","right"); } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function addBox(head,code,id,siblingafter) { /* head: html string title null - no header bar code: html string content id: unique string css pointer siblingafter: regexp classname 'left' - mainbar column end 'right' - sidebar column end */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(!head) head=""; else head="<h2>"+head+"</h2>"; li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } //statusbaratas credit goes to bang kanal var message = new Array() //customize your message below message[0] = "- Welcome To -"; message[1] = "~(O.o)~ udHin'z ~(o.O)~ "; message[2] = "- Profile -"; message[3] = "- "+pageViewerFName+" Cakep de -"; var reps = 2; var speed = 400; var p=message.length; var T=""; var C=0; var mC=0; var s=0; var sT=null; if(reps<1)reps=1; function doTheThing(){ T=message[mC]; A();} function A(){ s++ if(s>8){s=1} if(s==1){document.title='[[[|||====]]] '+T+' [[[===||]]]'} if(s==2){document.title='[[[||===]]] '+T+' [[[==||=]]]'} if(s==3){document.title='[[[=||==]]] '+T+' [[[=||==]]]'} if(s==4){document.title='[[[==||=]]] '+T+' [[[||===]]]'} if(s==5){document.title='[[[===||]]] '+T+' [[[|||====]]]'} if(s==6){document.title='[[[==||=]]] '+T+' [[[||===]]]'} if(s==7){document.title='[[[=||==]]] '+T+' [[[=||==]]]'} if(s==8){document.title='[[[||===]]] '+T+' [[[==||=]]]'} if(C<(8*reps)){ sT=setTimeout("A()",speed); C++ }else{ C=0; s=0; mC++ if(mC>p-1)mC=0; sT=null; doTheThing();}} doTheThing(); document.getElementById("0").parentNode.appendChild(document.getElementById("2")); document.getElementById("18").parentNode.appendChild(document.getElementById("7")); document.getElementById("7").parentNode.appendChild(document.getElementById("8")); // FRIENDS h=document.getElementById("2").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>"+pageOwnerFName+"\'s Friends</div></a>"; show_hide('content_2'); // CONTROLPANEL h=document.getElementById("controlpanel_header"); h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div >"+pageOwnerFName+"</div></a>"; show_hide('content_0'); // MOREABOUT h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>More About "+pageOwnerFName+"</div></a>"; show_hide('content_6'); // PUBLICCOMMENTS h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div>Testimonials and Comments for "+pageOwnerFName+"</div></a>"; show_hide('content_18'); } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function addBox(head,code,id,siblingafter) { /* head: html string title null - no header bar code: html string content id: unique string css pointer siblingafter: regexp classname 'left' - mainbar column end 'right' - sidebar column end */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(!head) head=""; else head="<h2>"+head+"</h2>"; li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } function show_hide(the_box) { if (document.getElementById(the_box)) { if (document.getElementById(the_box).style.display == 'none') { document.getElementById(the_box).style.display = 'block'; } else { document.getElementById(the_box).style.display = 'none'; } } }[/spoiler] ko kode d'atas engga jalan ya d'fs gw...? aneh banged... :wallbash:

Board footer

© 2024 F Talk

Current time is 00:24

[ 12 queries - 0.523 second ]
Privacy Policy