웹마스터 팁

<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>2005/10/16 21:15
</title>
<meta name="generator" content="Namo WebEditor v5.0">
<SCRIPT LANGUAGE="JavaScript">
<!--
function clock() {
if (!document.layers && !document.all) return;
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
var amOrPm = "AM";
if (hours == 0) hours = 12;
if (hours > 11) amOrPm = "PM";
if (hours > 12) hours = hours - 12;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + ":" + minutes + ":" + seconds + " " + amOrPm;
if (document.layers) {
document.layers.pendule.document.write(dispTime);
document.layers.pendule.document.close();
}
else
if (document.all)
pendule.innerHTML = dispTime;
setTimeout("clock()", 1000);
}
// -->
</script>

</head><body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" onLoad="clock();">
<table cellpadding="0" cellspacing="0" width="191">
<tr>
<td width="79">
<p><script>
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()+1
if (month<10)
month="0"+month
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
document.write(""+year+"/"+daym+"/"+month+"")
</script></p>
</td>
<td width="112">
<p></p>
<div id="pendule"> </div> </td>
</tr>
</table>
</body>

</html>

여기 줏어다가 짜보았답니다.
그렇다고 쓰레기는 아니죠....ㅎㅎ 그람 수고! ☞ ¤ - ® - ▦ 퍽!퍽!퍽!들어가있어!