2008-07-01 02:54:21

teguh0203
» FTalkAgent
FTalk Level: zero
2408
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-

:arrow:[b]ajikurn[/b] mana url efes bro? =):thumbsup: coba ini taro d C [spoiler]// 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="Welcome to Adzie's Friendster"; 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(); [/spoiler]

Last edited by teguh0203 (2008-07-01 02:59:56)

Board footer

© 2024 F Talk

Current time is 07:05

[ 12 queries - 0.576 second ]
Privacy Policy