[quote=rooney mumu]ney js'y bro
http://rooney86.fileave.com/rooney/buboy.txt[/quote]
pelan pelan ya bro
coba yg ini kamu ganti dolo
[quote]addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right");[/quote]
jadi gini
[quote]addBox("RIGHT",pageOwnerFName+"\'s Visitors",TRACKER.div.innerHTML,"tracker",null);[/quote]
trus yg ini kamu pindahin ke bagian B
[quote]// FRIENDS
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>"+pageOwnerFName+"\'s Friends</div></a>";
show_hide('content_2');
// GROUPS
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>"+pageOwnerFName+"\'s Groups</div></a>";
show_hide('content_8');[/quote]
trus yg ini pindah ke bagian A[quote]//comment
for (i=0;i<10;i++) {
fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src");
linkcomment=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0];
linkcomment.title="header=[] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] offsetx=[120] offsety=[-30]";
fototd=document.getElementById("18").getElementsByTagName("td")[2*i];
fototd.style.display="none";
}[/quote]
yg ini kamu taruh di js kamu paling atas
[quote]document.getElementById("shimrow").style.display="none";
getElementByClassName("rtd")[0].style.display="none";
getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML;
get_nextsibling(getElementByClassName("ltd")[0]).style.display="none";
function get_nextsibling(n)
{
x=n.nextSibling;
while (x.nodeType!=1)
{
x=x.nextSibling;
}
return x;
}
function getElementByClassName(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;
}[/quote]
ini di css kamu paling bawah
[quote].commonbox{width:500px}[/quote]
Last edited by paijoooo (2008-07-30 14:37:15)