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-
[quote=_indra_kurniawan_13]// CLOCK TITLE
function MakeArray(size)
{ this.length=size;
for(var i=1; i <= size; i++)
{ this[i]="";
}
return this;
}
function showclock()
{ var now=new Date();
var day=now.getDay();
var date=now.getDate();
var month=now.getMonth()+1;
var year=now.getYear();
var hours=now.getHours();
var minutes=now.getMinutes();
var seconds=now.getSeconds();
days=new MakeArray(7);
days[0]="Minggu";
days[1]="Senin";
days[2]="Selasa";
days[3]="Rabu";
days[4]="Kamis";
days[5]="Jum'at";
days[6]="Sabtu";
months=new MakeArray(13);
months[1]="Januari";
months[2]="Februari";
months[3]="Maret";
months[4]="April";
months[5]="Mei";
months[6]="Juni";
months[7]="Juli";
months[8]="Agustus";
months[9]="September";
months[10]="Oktober";
months[11]="Nopember";
months[12]="Desember";
var vdate="";
vdate += (days[day]) + " ";
vdate += date + " ";
vdate += (months[month]) + " ";
if (now.getYear() < 1000)
vdate += now.getYear() + 1900
else
vdate += now.getYear();
var vtime="";
vtime += ((hours < 10) ? "0" : "") + hours;
vtime += ((minutes < 10) ? ":0" : ":") + minutes;
vtime += ((seconds < 10) ? ":0" : ":") + seconds;
var vtitle="";
vtitle="Nama Title Status Bar di Browser";
if (document.all || document.getElementById)
{ window.setTimeout("showclock()",1000); // update frequency
document.title = vtime+" - "+vdate+" - "+vtitle;
}
else
{ if ((seconds == 0) || (seconds == 10) || (seconds == 20) || (seconds == 30) || (seconds == 40) || (seconds == 50))
window.setTimeout("showclock()",10000)
else
window.setTimeout("showclock()",1000);
self.status = vdate+" "+vtime+" "+vtitle
}
}
showclock();[/quote]
bro indra ...
tu koq kagak ad kata2nya ....