웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
2005/10/16 21:15 pm 형식으로 출력되는 시계
2005.10.18 13:23
<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>
여기 줏어다가 짜보았답니다.
그렇다고 쓰레기는 아니죠....ㅎㅎ 그람 수고! ☞ ¤ - ® - ▦ 퍽!퍽!퍽!들어가있어!
<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>
여기 줏어다가 짜보았답니다.
그렇다고 쓰레기는 아니죠....ㅎㅎ 그람 수고! ☞ ¤ - ® - ▦ 퍽!퍽!퍽!들어가있어!
댓글 5
제목 | 글쓴이 | 날짜 |
---|---|---|
메일 인증시 기존 회원 전부 인증걸기;;; [4] | teslaMINT | 2003.03.04 |
이젠 주소검색 편하게쓰자~~~!! (새창띄우지 않습니다) [5] | _-=Knight=-_ | 2003.03.05 |
내 홈피도 채널을?! #1 [16] | (' _ ') napclub | 2003.03.31 |
글자 깨짐 없이 문자열 자르기(hex2bin 함수 이용) [13] | 미친개 | 2003.04.05 |
객체를 이용한 winamp 방송정보 알아내는 소스 [4] | 흑심품은연필 | 2003.04.07 |
개판 오분전 세션 - 1 [7] | 미친개 | 2003.04.08 |
개판 오분전 세션 - 2 [4] | 미친개 | 2003.04.08 |
개판 오분전 세션 - 3 [4] | 미친개 | 2003.04.08 |
개판 오분전 세션 - 4 | 미친개 | 2003.04.08 |
개판 오분전 세션 - 5 | 미친개 | 2003.04.08 |
개판 오분전 세션 - 6 | 미친개 | 2003.04.08 |
개판 오분전 세션 - 7 [10] | 미친개 | 2003.04.08 |
PHP 혼자 공부하기 - 1 :: 준비물 [3] | 행복한고니 | 2003.04.09 |
PHP 혼자 공부하기 - 2 :: PHP의 시작 [9] | 행복한고니 | 2003.04.09 |
PHP 혼자 공부하기 - 3 :: 변수형 [8] | 행복한고니 | 2003.04.09 |
PHP 혼자 공부하기 - 4 :: 미리 정의된 변수 [13] | 행복한고니 | 2003.04.09 |
PHP 혼자 공부하기 - 5 :: 변수 [4] | 행복한고니 | 2003.04.10 |
PHP 혼자 공부하기 - 6 :: 연산자 [7] | 행복한고니 | 2003.04.11 |
[mics'php] 들어가기 전에 [1] | TheMics | 2003.04.11 |
PHP 혼자 공부하기 - 7 :: 제어문과 함수 [7] | 행복한고니 | 2003.04.12 |