^liio
copas ke bagian c
[quote]//centered left box
if (!attachOnLoadHandler(function(){leftBoxes()})) window.onload = function(){leftBoxes()};
function leftBoxes() {
fixBox("0",null); //Cpanel
fixBox("1",null); //Photos
fixBox("6",null); //MoreAbout
fixBox("18",null); //Comments
}
function fixBox(boxID,set) {
//by xavierkym
//set "CUSTOM" | null
//if "CUSTOM" set your settings in the function below
/* Available default boxID
RIGHT BOXES
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
*/
var box;
box = parent.document.getElementById(boxID);
if (set == null) {
box.style.position = "relative";
box.style.overflow = "auto";
box.style.overflowX = "hidden";
box.style.overflowY = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
else if (set == "CUSTOM") {
box.style.position = "relative";
box.style.overflow = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
}
//centered right box
if (!attachOnLoadHandler(function(){rightBoxes()})) window.onload = function(){rightBoxes()};
function rightBoxes() {
centerBox("2","0","DOWN",null); //Friends di bawah ControlPanel
centerBox("8","18","DOWN",null); //Groups di bawah Comments
}
function centerBox(boxID,sibling,insert,set) {
//by xavierkym
//insert "UP" | "DOWN"
//set default is = null
/* Available default boxID
RIGHT BOXES
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
Available default sibling
LEFT BOXES
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
*/
var baseID; var cNode; var module; var box;
baseID = document.getElementById(sibling);
cNode = baseID.parentNode;
module = document.getElementById(boxID);
box = parent.document.getElementById(boxID);
if (set == null) {
box.style.position = "relative";
box.style.overflow = "auto";
box.style.overflowY = "hidden";
box.style.overflowX = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
if (insert == "UP") {
cNode.parentNode.insertBefore(module,cNode);
}
else if (insert == "DOWN") {
cNode.appendChild(module);
}
}[/quote]
buat css'e tambahin ini...
[quote]/* FriendsterMagic - remove more about me link */
.controlpanel a.more {display:none;}
/*Transparent Shoutout*/
{transparent shoutout}
.controlpanel .so { margin: 0 -20px 10px 0; width: 257px; position: relative; background:url() repeat-y top left; color: #ce4424; font-weight: bold; }
.controlpanel .so a { color: #ce4424; }
.controlpanel .so div#cpShoutoutBox, .controlpanel .so div#cpShoutoutEditBox { padding: 7px 7px 5px 7px; margin: 0; }
.controlpanel .so div#cpShoutoutEditBox { display: none; }
.controlpanel .sol { position: absolute; left: -5px; top: 8px; width: 6px; height: 11px; background:url() no-repeat; }
.controlpanel .sob { width: 257px; height: 2px; background:url() no-repeat; line-height: 0; font-size: 0; }
.scrapbook{display:none;background:transparent;}
.user_tracker {
display:none;
}
/* FriendsterMagic - remove top banner */
.banner_ad_fix{display:none;}
/* FriendsterMagic - remove logo */
#logo {display:none;background:transparent;}
/* FriendsterMagic remove search form*/
#search {display:none;background:transparent;}
#search form {display:none;background:transparent;}
/* FriendsterMagic - hide the connection box */
.meettrail{display:none;background:transparent;}
/* FriendsterMagic - hide google ads */
#content_14 {display:none!important;}
/* FriendsterMagic - hide report abuse */
#reportabuse{display:none;}
/* FriendsterMagic - remove featured sponsor */
#marketing_bg{display:none;background:transparent;}
#footer_container {
display: none;
}[/quote]
semoga berhasil...
Last edited by kiddy (2008-05-11 06:56:55)