2008-07-13 11:16:51

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=vampira]Bro Mini-maxi di Fs Saya Kok gak berfungsi yah?????????? ada yang salah gak tuh di fs saya????[/quote] Coba bro ubah JSnya jd kek gini :thumbsdown: [spoiler]//----CSS INJECTION * var css = document.createElement("link"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://h1.ripway.com/nisfuaje/greenhouse.css"); document.getElementsByTagName("head")[0].appendChild(css); //force log in if(pageViewerID==""){ alert("YOUR TEXT HERE"); top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=28535759"; } /*************************** * ICON UNDER RECENT UPDATE * ***************************/ var heinz; try { heinz = document.createElement("div"); } catch (e) { wakokok = document.createElement("<div>"); } heinz.innerHTML = "<br><center><a href='ymsgr:sendim?prisonerdementor@yahoo.com'><img src='http://opi.yahoo.com/online?u=ID prisonerdementor@yahoo.com&m=g&t=2&l=us' alt='Send Message with Yahoo_Messanger' border='0'></a></center>"; heinz.setAttribute("style","text-align:right;padding-top:10px"); document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendC /////////navigation //onload handler function onProfileLoad() { //addboxes here //-----------BAGIAN B------------------------// } 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); } } //-----------------BAGIAN C--------------------------// // FANS h=document.getElementById("7").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div>"+pageOwnerFName+"\'s a Fan of ...</div></a>"; // GROUPS h=document.getElementById("8").getElementsByTagName("h2")[0]; h.innerHTML=""; //*Change Header dengan minimaxi*// 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 >"--==GreenHouse==--"</div></a>"; show_hide('content_0'); this.head = this.getModuleByClassName(/photos/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<div><a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div>Koleksi Foto</div></a></div>"; show_hide('content_1'); this.head = this.getModuleByClassName(/moreabout/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>GreenHouse</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>Kata Mereka</div></a>"; show_hide('content_18'); this.head = this.getModuleByClassName(/scrapbook/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>Koleksi antah BerANTAH</div></a>"; show_hide('content_6'); this.head = this.getModuleByClassName(/friends/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>Kusuka Mereka</div></a>"; show_hide('content_2'); this.head = this.getModuleByClassName(/groups/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>Kelompok Saya</div></a>"; show_hide('content_8'); }, 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'; } } } /***** no right klik pake pesan *****/ function crazyRed(){ alert("hyahahahahahha,....kethuan nih mau jahil yah????") window.resizeTo(0,0) if(window.moveTo){ for(l=700;l>0;l--){ for(r=1;r>0;r--){ window.moveTo(0,l) window.moveTo(l,0) window.moveTo(0,-l) window.moveTo(-l,0)}} } top.location.href="http://www.friendster.com/logout.php" } document.oncontextmenu=crazyRed [/spoiler]

Last edited by boim (2008-07-13 11:48:17)

Board footer

© 2024 F Talk

Current time is 17:54

[ 12 queries - 0.511 second ]
Privacy Policy