[quote=elf_imuet]minta script YM status ma welcome & goodbye alert dung.
trus script2 tu diletakkan di bagian mana?[/quote]
klo YM status nech kodenya..
[quote]//ICON UNDER CP BUTTON
var ymessenger;
try {ymessenger = document.createElement("div");}
catch (e) {ymessenger = document.createElement("<div>");}
ymessenger.innerHTML = "<br><a href='ymsgr:sendim?[b]GANTI DENGAN ID YM KAMU[/b]'><img src='http://opi.yahoo.com/online?u=:ymusername:&m=g&t=2'></a><br>";
ymessenger.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(ymessenger);[/quote]
klo welcome alert nech kodenya..
[quote]alert([b]'GANTI DENGAN KATA˛ KAMU[/b]');[/quote]
klo goodbye alert.
nech kodenya..
[quote]window.onbeforeunload = function (evt) {
var message = '[b]GANTI DENGAN KATA˛ KAMU[/b]';
if (typeof evt == 'undefined') {
evt = window.event;
}
if (evt) {
evt.returnValue = message;
}
return message;
}[/quote]
simpan semua kode itu di JS kamu di bagian A..
Last edited by arcatari (2008-08-08 23:36:27)