Sabtu, 22 Oktober 2011

0

Membuat jam di status bar

  • Sabtu, 22 Oktober 2011
  • Bina Blogger
  • Share
  • Pertama buat file index.html terus ketik dah script dibawah ini :
    <html>
    <head>
    <SCRIPT language=JavaScript>
    <!--

    function Clock() {

    window.setTimeout( "Clock()", 1000 );

    now = new Date();
    localtime = now.toString();
    hours = now.getHours();
    mins = now.getMinutes();
    secs = now.getSeconds();
    if (hours > 12)
    hours = now.getHours()-12;
    self.status = "Jam " + hours + " Lewat " + mins + " Menit, " + secs + " Detik Waktu Indonesia Bagian Ilmuwebsite.com ".toString();

    }
    Clock()
    // -->
    </SCRIPT>
    </head>

    <body>
    <body bgcolor="#000000">

    </body>
    </html>

    0 Responses to “Membuat jam di status bar”

    Posting Komentar

    Subscribe