2008-06-11 18:40:41

andHa
» FTalkWhiz
FTalk Level: zero
3386
0
1969-12-31

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-

[b]paijoooo[/b] coba lu ganti jadi gini kode nya. taro d bagian C juga [spoiler] if (!attachOnLoadHandler(function() { birthday();})) window.onload = function() { birthday();}; function birthday() { BIRTHDAY.init(); } 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; } }; [/spoiler] [b]robin rianto[/b] sama.sama bos. tapi kode nya jalan smua kan ? gw juga waktu pake loading gitu lama beud bos. malah kadang ga kebuka. pengaruh kebanyakan script kali :paranoid:

Last edited by andHa (2008-06-11 18:43:33)

Board footer

© 2024 F Talk

Current time is 13:17

[ 12 queries - 0.516 second ]
Privacy Policy