[quote=agam78]ada yang tau judulnya [b]recent update[/b] , tp d ganti ma apaan lah,,, biar berubah tapi jangan ilang,, itu apa namannya.. penah liat c,, berubah tapi gak ilang,,,,, coba broo bantu agam,,,
makasih yaa sebelunyaa
[/quote]
atau sama [b]Everyday is your Birthday[/b]=credit feruzz
ini
[img]http://h1.ripway.com/myscript/photo/birth.png[/img]
codenya
[spoiler]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\">"+
"<p>"+BIRTHDAY.ownername+"'s birthday is <span class=\"strong\">Today</span> - "+
"<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();[/spoiler]
simpan di bag. c js mu
[b]hari risandi[/b]
[spoiler]ini slidenya ganti yg dibold dgn no id fs mu
[quote]var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=ms&il=1&channel=2882303761517779120&site=widget-b0.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/[b]U_ID[/b]\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=[b]U_ID[/b]\" target=\"_blank\">Upload Photo For fIE</b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";[/quote]
btw fs nya satu kolom bikan, kl bnr pake ini buat chattboxnya
[quote]var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='285' src='http://www4.cbox.ws/box/?boxid=3424412&boxtag=f6b5le&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='bryan' id='bryan'></iframe><br/><form name='chat' target='bryan' action='http://www4.cbox.ws/box/?boxid=3424412&boxtag=f6b5le&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><textarea style='overflow:hidden' class='cboxMsgArea' cols='66' rows='3' name='pst'></textarea><br /><input type='submit' class='cboxButtons' value='Submit' name='asa'><input class='cboxButtons' type='reset' value='Clear' maxlength='23' onClick='reset()'><input type='button' class='cboxButtons' value='Refresh' name='bryan' onClick='window.bryan.location.href=document.getElementById(\"bryan\").src'></form>"+
"</div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_cboxbox'); return false\"><div title=\"header=[chatt yuk] body=[Hallo "+pageViewerFName+"klik untuk beri pesan singkat]\">"+pageOwnerFName+"'s chattbox</div></a>",cbox,"cboxbox","1");
show_hide('content_cboxbox');[/quote]
kl bukan tinggal ganti add boxnya jd gini
[quote]addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_cboxbox'); return false\"><div title=\"header=[chatt yuk] body=[Hallo "+pageViewerFName+"klik untuk beri pesan singkat]\">"+pageOwnerFName+"'s chattbox</div></a>",cbox,"cboxbox","1");
show_hide('content_cboxbox');[/quote]
[/spoiler]
Last edited by eddi (2008-06-16 14:36:52)