Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS,
silahkan bertanya dan posting disini,
tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-
wah .. lupa gue ...
lu sih ..
harusnya gak usah bikin div lagi ..
klo dibikin div lagi jadi brubah lagi div nya
yang ini gak perlu lagi <div class=\"viewall\">
sekarang coba ini deh:
[spoiler]semuadiv=document.getElementById("content_18").getElementsByTagName("div");
function balezkomen(){
document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML="<a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\"><img src=\"http://cowo.bedon.googlepages.com/reply.gif\" title=\"Post a Comments\"></a> <a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/sendmessage.php?uid="+pageOwnerID+"');return false\"><img src=\"http://kaskus.us/images/statusicon/thread.gif\" title=\"Send a message\"></a>";
document.getElementById("content_18").getElementsByTagName("div")[semuadiv.length-1].innerHTML="<a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\"><img src=\"http://cowo.bedon.googlepages.com/reply.gif\" title=\"Post a Comments\"></a> <a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/sendmessage.php?uid="+pageOwnerID+"');return false\"><img src=\"http://kaskus.us/images/statusicon/thread.gif\" title=\"Send a message\"></a>";
}
if (!attachOnLoadHandler(function(){balezkomen()})) window.onload = function(){balezkomen()};
function expandingWindow(website) {
var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes'
var heightspeed = 2;
var widthspeed = 7;
var leftdist = 10;
var topdist = 10;
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]