Programalama > HTML

Etiketler: tarih, saat, statüs, bar

Ort. 0
Puan ver:
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1254">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title></title>
<!-- host baş -->
<!-- host son -->
</head>

<body bgcolor="#FFFFFF" text="#000000" link="#FF0000"
vlink="#000080" alink="#000080" onload="startclock();"
onload="startclock();" onload="startclock();">

<p align="center"> </p>
<script language="JavaScript">
<!-- Hide from old browsers
// Copyright © 1999 Doug Popeney
// Created by Doug Popeney (sonturk@yenimail.com)
// JavaScript Made Easy!! - http://www.adresonline.gen.tr.tc

  var timerID = null
  var timerRunning = false
  function MakeArray(size) 
  {
  this.length = size;
  for(var i = 1; i <= size; i++)
  {
  this[i] = "";
  }
  return this;
  }

  function stopclock (){
  if(timerRunning)
  clearTimeout(timerID);
  timerRunning = false
  }

  function showtime () {
  var now = new Date();
  year = new String(now.getYear())
  yearLen = year.length
  year = year.split("")
  year = year[yearLen - 2] + year[yearLen - 1]
  var month = now.getMonth() + 1;
  var date = now.getDate();
  var hours = now.getHours();
  var minutes = now.getMinutes();
  var seconds = now.getSeconds();
  var day = now.getDay();

  Day = new MakeArray(7);
  Day[0]="SUN";
  Day[1]="MON";
  Day[2]="TUE";
  Day[3]="WED";
  Day[4]="THU";
  Day[5]="FRI";
  Day[6]="SAT";

  var timeValue = "";
  timeValue += (Day[day]) + "   ";
  timeValue += ((month < 10) ? " 0" : " ") + month + "-";
  timeValue += date + "-" + year + "    ";
  timeValue += ((hours <= 12) ? hours : hours - 12);
  timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
  timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
  timeValue += (hours < 12) ? " AM" : " PM";
  window.status = timeValue;
  timerID = setTimeout("showtime()",1000);
  timerRunning = true
  }

  function startclock () {
  stopclock();
  showtime()
  }
  // End Hiding -->
</script>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><font
color="#FF0000" size="2" face="Verdana"><strong>ADRES</strong></font><font
color="#0000FF" size="2" face="Verdana"><strong>ONLİNE</strong></font></a><font
color="#0000FF" size="2" face="Verdana"><strong> </strong></font></p>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><font
size="2" face="Verdana"><strong>GENÇLİĞİN YENİ ADRES PORTALI</strong></font></a></p>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><font
size="2" face="Verdana"><strong>UNLİMİTED - LİMİT YOK -
KAYNAK ÇOK</strong></font></a></p>

<p align="center"><font size="2" face="Verdana"><strong>STATUS
BARA BAKINIZ...</strong></font></p>
</body>
</html>


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.