[quote=pashya]gmn cara na yah
[/quote]
save 1 folder dengan nomor tootipsnya bro...
yg ini..
[img]http://h1.ripway.com/bodbehel/tombol/0.gif[/img] dari [b]0 smpe 9[/b], trus ini [img]http://h1.ripway.com/bodbehel/tombol/img_icon.png[/img] sama ini [img]http://h1.ripway.com/bodbehel/tombol/smile_icon.gif[/img]
trus masukin disini...
[spoiler]var spasi5="&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;";
dirkomentar="[b]URL IMAGE[/b]";
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=[550] 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=\""+dirkomentar+i+".gif\" class=\"shakeimage\" onmouseover=\"munculkomen('"+i+"')\" title=\"header=[= "+namakomentar+" =] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] fixedabsx=[550] 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;' title=\"header=[<img src='"+dirkomentar+"smile_icon.gif' align='absmiddle'> SEND SMILE] body=[Kirim smile untuk "+namakomentar+"]\"></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;' title=\"header=[<img src='http://images.friendster.com/images/samsg_icon.gif' align='absmiddle'> SEND MESSAGE] body=[Kirim message untuk "+namakomentar+"]\"></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;' title=\"header=[<img src='"+dirkomentar+"img_icon.png' align='absmiddle'> PHOTOS] body=[Lihat foto-foto milik "+namakomentar+"]\"></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;' title=\"header=[<img src='http://images.friendster.com/images/sn_msg_icon.gif' align='absmiddle'> REPLY COMMENT] body=[Balas komentar untuk "+namakomentar+"]\"></a></div>";
divitd.style.display="none";
divkomentar[i].style.display="none";
}[/spoiler]
inget, gk smpe namanya ya...
cuma URLnya...
contoh : [b]
http://h1.ripway.com/username/tombol/[/b]
dah cuma gitu...
gk pake
http://h1.ripway.com/username/tombol/[b]nomor2.png[/b]
moga bisaaa...
Last edited by oby_nagnar (2008-11-10 10:06:41)