[quote=odloc]
boim..
sya dah cba, tpi koq ep-es sya jdi gag jlan yh?!?!?
cba tlong d cek.....
ni js sya....[/quote]
ad yg salah bro..
tanda kutip nya doble td ..
seharus ny satu aj ..
ni da gua baikin ..
[quote]var spasi5="&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;";
dirkomentar="http://www.fileden.com/files/2007/9/17/1438724/";
boxkomentar=document.getElementById("content_18");//
tombolkomentar=boxkomentar.getElementsByTagName("div")[0];
tombolkomentar.style.textAlign="center";
tombolkomentar.innerHTML=" ";
divkomentar=getElementsByClassName("fitem1wrapper","div",boxkomentar);
for (i=0;i<divkomentar.length;i++) {
divitd=divkomentar[i].getElementsByTagName("td")[0];
fotosrc=divkomentar[i].getElementsByTagName("img")[0].getAttribute("src");
datakomentar=divkomentar[i].getElementsByTagName("ul")[0];
titlekomentar=datakomentar.getElementsByTagName("li")[0];
atitlekomentar=titlekomentar.getElementsByTagName("a")[0];
namakomentar=atitlekomentar.innerHTML.replace(/"/g,"").replace(/'/g,"");
linkkomentar=atitlekomentar.getAttribute("href");
datakomentar.title="header=[= "+namakomentar+" =] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] fixedabsx=[800] offsety=[-30]";
datakomentar.getElementsByTagName("li")[2].setAttribute("style","background:#FFFFFF url("+dirkomentar+"kertas.jpg);color:#000;padding:17px 10px 10px 80px;line-height:18.4px");
tombolkomentar.innerHTML+=" <img src=\"http://dabuckzsk8er.fileave.com/tombol/+i+.png\" class=\"shakeimage\" onmouseover=\"munculkomen('"+i+"')\" title=\"header=[= "+namakomentar+" =] body=[<img src='"+fotosrc+"' style='width:75px;border:2px solid black;'>] fixedabsx=[800] offsety=[30]\"> ";
titlekomentar.innerHTML="<div style=\"float:left\"><a target='_blank' href='"+linkkomentar+"'>"+namakomentar+"</div>"+
"<div>"+spasi5+"<a target='_blank' href='"+linkkomentar.replace(/profiles.friendster.com\//i,"www.friendster.com/sendmessage.php?uid=")+"&action=sendsmile' style='background:none;padding:0px'><img src=\""+dirkomentar+"smile_icon.gif\" align='absmiddle' style='display:inline;' \"></a>"+
spasi5+"<a target='_blank' href='"+linkkomentar.replace(/profiles.friendster.com\//i,"www.friendster.com/sendmessage.php?uid=")+"' style='background:none;padding:0px'><img src=\"http://images.friendster.com/images/samsg_icon.gif\" align='absmiddle' style='display:inline;' \"></a>"+
spasi5+"<a target='_blank' href='"+linkkomentar.replace(/profiles.friendster.com\//i,"www.friendster.com/photos/")+"' style='background:none;padding:0px'><img src=\""+dirkomentar+"img_icon.png\" align='absmiddle' style='display:inline;' \"></a>"+
spasi5+"<a target='_blank' href='"+linkkomentar.replace(/profiles.friendster.com\//i,"www.friendster.com/comments.php?uid=")+"' style='background:none;padding:0px'><img src=\"http://images.friendster.com/images/sn_msg_icon.gif\" align='absmiddle' style='display:inline;' \"></a></div>";
divitd.style.display="none";
divkomentar[i].style.display="none";
}[/quote]
coba bro..
mau g tch..
Last edited by sanji (2008-08-16 09:28:59)