[b]@ adiyat[/b]
liat jsnya dumz
kok aneh bisa ngaruh k begron
[b]@ teguh[/b]
ini
bξĐση ♫
[b]@ pispot umum[/b]
kok makenya yg ini doank
pasanganya mana
[spoiler]
//centered right box
if (!attachOnLoadHandler(function(){rightBoxes()})) window.onload = function(){rightBoxes()};
function rightBoxes() {
centerBox("2","13","DOWN",null); //Friends di bawah Blogs
centerBox("7","10","UP",null); //Fanof di atas Media Box
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);
}
}[/spoiler]
itu kan buat [i]centered right box[/i] nah yg [u]centered left box[/u] mana
Last edited by Co_don SanAdH (2008-06-23 03:35:57)