2008-07-24 05:27:36

nisfuaje
» FTalkGeek
FTalk Level: zero
1013
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-

brow all,... ada yang bisa gak liat ni fs temen gw??? [url]http://profiles.friendster.com/melonsia[/url] jalan gak script nya??? klo gak kira2 kenapa yah??? trus klo jalan, itu bagian C panel nya ama friends nya kok gak bisa di buka yah??? salah di script minimaxi kali yak.... ini di bawah code nya,.. tolong di cekkin yak,.. [spoiler]//*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 > MELON</div></a>"; show_hide('content_0'); this.head = this.getModuleByClassName(/photos/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div>Koleksi Foto</div></a>"; 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>MELON</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>COment MElon</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_10'); return false\"><div>Koleksi Melon</div></a>"; show_hide('content_10'); this.head = this.getModuleByClassName(/friends/i)[0].getElementsByTagName("h2")[0]; this.head.innerHTML = "<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>Teman Melon</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'; } } }[/spoiler]

Last edited by nisfuaje (2008-07-24 05:30:48)

Board footer

© 2024 F Talk

Current time is 13:23

[ 12 queries - 0.876 second ]
Privacy Policy