@eniex
ini ga nyelesain masalah..
yang jelas...script bro banyak yang bermasalah..
[spoiler]
/*--------------------------------------------------------------------- TOOLTIPS COMMENT */
var spasi5="&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;";
tombol_cmntx=document.getElementById("content_18").getElementsByTagName("div")[0];
tombol_cmntx.style.textAlign="center";
tombol_cmntx.innerHTML=" ";
for (i=0;i<2;i++) {
fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src");
ulcmntx=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0];
licmntx=ulcmntx.getElementsByTagName("li")[0];
linkxcmnt=ulcmntx.getElementsByTagName("li")[0].getElementsByTagName("a")[0];
xcmntName=linkxcmnt.innerHTML.replace(/"/g,"").replace(/'/g,"");
xcmntHref=linkxcmnt.getAttribute("href");
ulcmntx.title="header=[= "+xcmntName+" =] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] fixedabsx=[550] offsety=[-30]";
ulcmntx.getElementsByTagName("li")[2].style.background="#FFFFFF url([b]
http://h1.ripway.com/nopathz/theme1/images/kertas.jpg[/b])";
ulcmntx.getElementsByTagName("li")[2].style.color="#000000";
ulcmntx.getElementsByTagName("li")[2].style.padding="17px 10px 10px 80px";
ulcmntx.getElementsByTagName("li")[2].style.lineHeight="18.4px";
tombol_cmntx.innerHTML+=" <img src=\"http://h1.ripway.com/eniex/myfo/"+i+".png\" class=\"shakeimage\" onmouseover=\"munculkomen('"+i+"')\" title=\"header=[= "+xcmntName+" =] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] fixedabsx=[550] offsety=[30]\"> ";
divcmntx=document.getElementById("content_18").getElementsByTagName("div")[2*i+1];
divcmntx.style.display="none";
fototd=document.getElementById("18").getElementsByTagName("td")[2*i];
lidate=ulcmntx.getElementsByTagName("li")[0];
lidate.innerHTML+=spasi5+"<a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/sendmessage.php?uid=")+"&action=sendsmile' style='background:none;padding:0px'><img src=\"http://h1.ripway.com/nopathz/theme1/images/smile_icon.gif\" align='middle' style='display:inline;' title=\"header=[<img src='[b]
http://h1.ripway.com/nopathz/theme1/images/smile_icon.gif[/b]' align='absmiddle'> SEND SMILE] body=[Kirim smile untuk "+xcmntName+"]\"></a>"+spasi5+"<a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/sendmessage.php?uid=")+"' style='background:none;padding:0px'><img src=\"[b]
http://h1.ripway.com/nopathz/theme1/images/msg_icon.gif[/b]\" align='middle' style='display:inline;' title=\"header=[<img src='http://h1.ripway.com/nopathz/theme1/images/msg_icon.gif' align='absmiddle'> SEND MESSAGE] body=[Kirim message untuk "+xcmntName+"]\"></a>"+spasi5+"<a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/photos/")+"' style='background:none;padding:0px'><img src=\"http://h1.ripway.com/nopathz/theme1/images/img_icon.png\" align='middle' style='display:inline;' title=\"header=[<img src='http://h1.ripway.com/nopathz/theme1/images/img_icon.png' align='absmiddle'> PHOTOS] body=[Lihat foto-foto milik "+xcmntName+"]\"></a>"+spasi5+"<a target='_blank' href='"+xcmntHref.replace(/profiles.friendster.com\//i,"www.friendster.com/comments.php?uid=")+"' style='background:none;padding:0px'><img src=\"[b]
http://h1.ripway.com/nopathz/theme1/images/com_icon.gif[/b]\" align='middle' style='display:inline;' title=\"header=[<img src='http://h1.ripway.com/nopathz/theme1/images/com_icon.gif' align='absmiddle'> REPLY COMMENT] body=[Balas komentar untuk "+xcmntName+"]\"></a>";
fototd.style.display="none";
}
[/spoiler]
yang ditebelin itu...udah ga ada di database'e..
so..
bro banyak banget pake script buat memperindah komen
ini ada lagi..
[spoiler]
/*------------------------------------------------------------------------- TOOLTIPS COMMENT */
function munculkomen(nomorkomen){
for (i=0;i<2;i++) {
imgnya=document.getElementById("content_18").getElementsByTagName("div")[0].getElementsByTagName("img")[i];
stoprattle(imgnya);
divcmntx=document.getElementById("content_18").getElementsByTagName("div")[2*i+1];
divcmntx.style.display="none";
}
document.getElementById("content_18").getElementsByTagName("div")[2*nomorkomen+1].style.display="block";
goyangimg=document.getElementById("content_18").getElementsByTagName("div")[0].getElementsByTagName("img")[nomorkomen];
initshake(goyangimg);
rattleimage();
}
[/spoiler]
ada atu lagi
[spoiler]
/*------------------------------------------------------------------ ANIMATED WINDOW COMMENT */
function animatedkomen(){
document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML="<div class=\"viewall\"><a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\">Post a Comment</a> | <a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\">View All (9999)</a></div>";
document.getElementById("content_18").getElementsByTagName("div")[22].innerHTML = "<div class=\"viewall\"><a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\">Post a Comment</a> | <a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\">View All (9999)</a></div>";
}
if (!attachOnLoadHandler(function(){animatedkomen()})) window.onload = function(){animatedkomen()};
function expandingWindow(website) {
var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes'
var heightspeed = 2; // vertical scrolling speed (higher = slower)
var widthspeed = 7; // horizontal scrolling speed (higher = slower)
var leftdist = 10; // distance to left edge of window
var topdist = 10; // distance to top edge of window
if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) {
var winwidth = window.screen.availWidth - leftdist;
var winheight = window.screen.availHeight - topdist;
var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops);
for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed)
sizer.resizeTo("1", sizeheight);
for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed)
sizer.resizeTo(sizewidth, sizeheight);
sizer.location = website;
}
else
window.open(website,'mywindow');
}
[/spoiler]
===================
@riohardis
wvm'e berjalan sempurna qo..
coba cek [url=http://h1.ripway.com/riohardi/tracker.php][b]DISINI[/b][/url]
Last edited by kiddy (2008-07-26 07:00:19)