ini code yg sudah di koreksi sm sist anna
wellcome,goodbye,dan block viewer non FS:
[quote]function all_in_one ()
{
HiViewernaLadybug();
};
window.onload = function ()
{all_in_one();};
function HiViewernaLadybug()
{
if (parent.pageViewerFName=="") //kalo ga ga pake fs viewna
{
alert('[color=red]Sorry only Friendster can View My Page - Pls Login or Make One Friendster Account[/color]');
top.location.href="http://www.friendster.com"; //suruh login
}
else
{
alert('[color]Ting... tong...[/color]');
alert('Hai\n'+parent.pageViewerFName+',\npa kabar?');
alert('[color=red]Selamat datang..[/color]');
}
}
//BYE2
function byebye()
{
{alert('[color=red]Thanks ya[/color]\n'+parent.pageViewerFName+'\n[color=red]udah mampir.. kapan2 dateng lagi yah?[/color]');}
}
window.onbeforeunload = function ()
{byebye();
};[/quote]
save as js file
Last edited by KhErMiNaToR (2007-09-03 10:58:49)