2008-08-01 11:48:08

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][/quote] coba pake ini bro :thumbsdown: [spoiler]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] ganti aja smua kode min maxnya dengan ntuh :thumbsup: and tambahin di CSSnya bro :thumbsdown: [quote]#meettrail{display:none;background:transparent;}[/quote] :arrow: [b]ovars[/b] dah ubah jadi .htm ga bro :D trus buat folder , nah dalam folder ituh file welcome pagenya disave :thumbsup:

Last edited by boim (2008-08-01 11:55:23)

Board footer

© 2024 F Talk

Current time is 23:59

[ 12 queries - 0.541 second ]
Privacy Policy