2008-08-01 12:00:30

boim
» FTalkGeek
FTalk Level: zero
1060
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=CoWoCuPu]itu taro d'mna man? nganti yang mana nih? terus entar jadi'nya kaya apa Om? tolong ea... :cry:[/quote] cup cup cup jgn sedih gt aghhh....:lol: coba langsung copas neeh bro :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); document.getElementById("shimrow").style.display="none"; getElementByClassName("rtd")[0].style.display="none"; getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML; get_nextsibling(getElementByClassName("ltd")[0]).style.display="none"; function get_nextsibling(n) { x=n.nextSibling; while (x.nodeType!=1) { x=x.nextSibling; } return x; } function getElementByClassName(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } //onload handler function onProfileLoad() { //addboxes here } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function addBox (type,head,htm,id,sibling) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings LEFT 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook RIGHT 15 = meettrail 2 = friends 14 = googleads 7 = fan 8 = groups null - appends to last */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(type=="LEFT") { var ul=document.getElementById("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; } else var ul=document.getElementById("2").parentNode.parentNode; li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } } if ( ! attachOnLoadHandler(function () { cHeaders();})) window.onload = function () { cHeaders();}; function cHeaders() { REPLACEIT.init(); } if (typeof REPLACEIT == "undefined") { REPLACEIT = {}; } REPLACEIT = { head: [], init: function() { this.head = this.getModuleByClassName(/controlpanel/i)[0].getElementsByTagName("h1")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div >"+pageOwnerFName+"</div></a>"; show_hide('content_0'); this.head = this.getModuleByClassName(/photos/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<div> "+pageOwnerFName+" Photo's</div>"; this.head = this.getModuleByClassName(/blogs/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<div> "+pageOwnerFName+" Blog</div>"; this.head = this.getModuleByClassName(/reviews/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<div> "+pageOwnerFName+" Review's</div>"; this.head = this.getModuleByClassName(/moreabout/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>More About "+pageOwnerFName+"</div></a>"; show_hide('content_6'); this.head = this.getModuleByClassName(/publiccomments/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div> Testimonials and Comments for "+pageOwnerFName+"</div></a>"; show_hide('content_18'); this.head = this.getModuleByClassName(/scrapbook/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<div> "+pageOwnerFName+" MEDIA BOX</div>"; this.head = this.getModuleByClassName(/friends/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>"+pageOwnerFName+"\'s Friends</div></a>"; show_hide('content_2'); this.head = this.getModuleByClassName(/fanof/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<div> "+pageOwnerFName+" FAN Of</div>"; this.head = this.getModuleByClassName(/groups/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<div> "+pageOwnerFName+" GROUPS</div>"; }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } }; 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] tetap smangat bro :kiss: :thumbsup: and tambahin di cssnya bro :thumbsdown: [spoiler]/* FriendsterTalk - hide the connection box */ #meettrail{display:none;background:transparent;} /* FriendsterTalk - hide google ads */ #googleAdFactory.fullwidth{position:absolute;top:-5500px;} /* FriendsterTalk - hide report abuse */ .reportabuse{display:none;} /* FriendsterTalk - remove featured sponsor */ #marketing_bg{display:none;background:transparent;} /* FriendsterTalk - remove featured sponsor */ #groups{display:none;background:transparent;}[/spoiler]

Last edited by boim (2008-08-01 12:04:14)

Board footer

© 2024 F Talk

Current time is 22:35

[ 12 queries - 0.565 second ]
Privacy Policy