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-
NI CODE NYA:
[quote]if (typeof BIRTHDAY == "undefined") { BIRTHDAY = {}; }
BIRTHDAY = {
myBirth: null,
ownername: document.getElementById("controlpanel_header").innerHTML.replace(/<a[\S\s]+?><\/a>/g, ""),
init: function() {
BIRTHDAY.myBirth = document.createElement("div");
BIRTHDAY.myBirth.innerHTML = "<img src=\"http://images.friendster.com/images/blank.gif\" height=\"10px\">"+
"<div class=\"fitem1wrapper badge\">"+
"<table class=\"fitem1table\"><tr>"+
"<td class=\"itd\">"+
"<img src=\"http://images.friendster.com/images/bday_icon.gif\"></td>"+
"<td class=\"dtd\">"+
""+BIRTHDAY.ownername+"'s birthday is <b>Today</b><br>"+
"<a href=\"/referafriend.php?refer="+pageOwnerID+"&msgtype=bday\">Tell a friend</a><br>"+
"<img class=\"inlinelt\" src=\"http://images.friendster.com/images/so_icon_eps_bday.gif\">"+
"<a href=\"/sendmessage.php?uid="+pageOwnerID+"\">Send a birthday Message!</a>"+
"</p></td>"+
"</tr></table>"+
"</div>";
BIRTHDAY.getModuleByClassName(/dtd fullwidth/i)[0].appendChild(BIRTHDAY.myBirth);
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};BIRTHDAY.init();[/quote]