[quote=xpcxpy]aku hapus yang ijo am biru aj lah gpp tuh kan??
aku pake merah aj..
sip buat bantuannya..[/quote]
itu nama kode onload handler !!!
bwat nambah box2 bru bro !!!
[quote=freedoom07]untuk yang ini dah ada bang.
tombol_comment=document.getElementById("content_18").getElementsByTagName("div")[0];
tombol_comment.style.textAlign="center";
tombol_comment.innerHTML=" ";
for (i=0;i<10;i++) {
fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src");
tglPost=document.getElementById("content_18").getElementsByTagName("ul")[0+1*i].getElementsByTagName("li")[1].innerHTML;
komensrc=document.getElementById("content_18").getElementsByTagName("ul")[0+1*i].getElementsByTagName("li")[2].innerHTML;
ulcomment=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0];
linkcommentor=ulcomment.getElementsByTagName("li")[0].getElementsByTagName("a")[0];
commentorName=linkcommentor.innerHTML.replace(/"/g,"").replace(/'/g,"");
commentorHref=linkcommentor.getAttribute("href");
tombol_comment.innerHTML+="<span style='padding-left:5px;'><a href='"+commentorHref+"'><img src=\"URL GAMBAR"+i+".gif\" height=\"35px\" width=\"35px\" class=\"imgblock75\" title=\"header=[<img src='"+fotosrc+"' style='width:164px;border:2px solid #990000;'><br><br>"+commentorName+"<br>] body=["+tglPost.replace(/"/g,'')+"<br>"+komensrc.replace(/"/g,'').replace(/([*\[]|[*\]])/g,'*')+"]\"></a></span>";
divcomment=document.getElementById("content_18").getElementsByTagName("div")[2*i+1];
divcomment.style.display="none";
fototd=document.getElementById("18").getElementsByTagName("td")[2*i];
fototd.style.display="none";
}
yang ini taruh d bag mana nie ?
brati musti kasi URL image dari angka 0-9 y bang ?[/quote]
d taroh bagian A bro !!!
iya loe hrus bikin [b]10 gambar and d simpen dalem stu folder gambar bro[/b]
bukan satu folder sma file2 yang laen jdi 10 gambar itu khusus tootips ajah
Last edited by y4sir (2008-10-15 07:05:32)