[quote=be_voa]quick komment yg ini bro
http://theftalk.com/t43033-%7BTUT … entor-Box-(No-Smileys).html
trus aku skrg pk yang ini
http://theftalk.com/t20947-%7BTUT … nials.html
bntuin ya[/quote]
coba jdiin gini...
[quote]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=\"[b]URL GAMBAR[/b]"+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>"+"<br/>"+"<div class=\"viewall\" id=\"quickreply\"><center>"+
"<form name=\"testimonial_form\" method=\"post\">"+
"<input type=\"hidden\" name=\"testimonial_firstname\" value=\""+pageOwnerFName+"\">"+
"<input type=\"hidden\" name=\"testimonial_uid\" value=\""+pageViewerID+"\">"+
"<input type=\"hidden\" name=\"_submitted\" value=\"1\">"+
"<table class=\"formtable\"><tr><td class=\"value\">"+
"<textarea id=\"thingy\" rows=\"5\" cols=\"100\" name=\"body\" style=\"width:400px\"></textarea>"+
"</td></tr><tr><td class=\"value\">"+
"<input readonly type=\"hidden\" name=\"inputcount\" size=\"4\" maxlength=\"4\" value=\"1000\">"+
"<input style='padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff;' type=\"button\" name=\"Submit\" onMouseOver=\"window.status='Post';return true;\" onClick=\"document.testimonial_form.action='http://www.friendster.com/testimonials.php?uid="+pageOwnerID+"&action=add';document.testimonial_form.submit();\" value=\"Submit\"> "+
"<input style='padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff' class=\"cancelButtons\" type=\"reset\" name=\"cancel\" value=\"Clear\" maxlength=\"25\"><br>"+
"</td></tr></table></form></center></div><br/><hr><br/>";
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";
}[/quote]
Last edited by oby_nagnar (2008-09-06 11:10:31)