웹마스터 팁

<HTML>
<HEAD>
<title>Age-Counter</title>
<style TYPE="text/css">
<!--
BODY {font-size:9pt}
Table {font-size:12pt}
A:link {text-decoration:none;}
A:visited {text-decoration:none;color:blue;}
A:hover {text-decoration:none;color:red;}
STRONG {font-size:25pt}
FONT {font-size:9pt}
input {font-size:9pt}
-->
</style>
</head>
<BODY>
<SCRIPT LANGUAGE="JAVASCRIPT">
<!-- hide this script tag's contents from old browsers
function lifetimer(){        
        today = new Date()
        BirthDay = new Date(document.live.age.value)
        timeold = (today.getTime() - BirthDay.getTime());
        sectimeold = timeold / 1000;
        secondsold = Math.floor(sectimeold);
        msPerDay = 24 * 60 * 60 * 1000 ;
        timeold = (today.getTime() - BirthDay.getTime());
        e_daysold = timeold / msPerDay;
        daysold = Math.floor(e_daysold);
        e_hrsold = (e_daysold - daysold)*24;
        hrsold = Math.floor(e_hrsold);
        minsold = Math.floor((e_hrsold - hrsold)*60);
        document.live.time1.value = daysold        
        document.live.time2.value = hrsold        
        document.live.time3.value = minsold        
        window.status = "당신이 태어나서 " + secondsold + "초 지나고 있네요!";
        timerID = setTimeout("lifetimer()",1000)
}

// -- done hiding from old browsers -->
</script>

<font color=red>당신이 태어나서 지금껏 살아온 시간들을 알아보는 스크립트입니다!</font><br><br><form name="live">

당신의 생일을 아래에 다음처럼 입력하세요!!<br>
ex) 1969년 6월 15일생 ▶ <font color=red>june 15,1969</font> 또는 <font color=red>jun 15,1969</font><br>
<INPUT TYPE="text" NAME="age" VALUE="" SIZE=15><br>
<INPUT TYPE="button" NAME="start" VALUE="계산하기" ONCLICK="lifetimer(this.form)">
<INPUT TYPE="reset" NAME="resetb" VALUE="지우기"><br>
당신이 태어나서<INPUT TYPE="text" NAME="time1" VALUE="" size=5>일<INPUT TYPE="text" NAME="time2" VALUE="" size=2>시간<INPUT TYPE="text" NAME="time3" VALUE="" size=2>분이 지났습니다.</form>
<font color=green>아래 상태 표시줄을 보면 당신이 지금까지 살아온 초까지도 알 수가 있습니다.</font><br><br>
<font color=blue>영어가 딸리는 분들을 위한 자그마한 배려!!! ^^</font><br>
1월:<font color=red>Jan</font>uary<BR>
2월:<font color=red>Feb</font>ruary<BR>
3월:<font color=red>Mar</font>ch<BR>
4월:<font color=red>Apr</font>il<BR>
5월:<font color=red>May</font><BR>
6월:<font color=red>Jun</font>e<BR>
7월:<font color=red>Jul</font>y<BR>
8월:<font color=red>Aug</font>ust<BR>
9월:<font color=red>Sep</font>tember<BR>
10월:<font color=red>Oct</font>ober<BR>
11월:<font color=red>Nov</font>ember<BR>
12월:<font color=red>Dec</font>ember<BR>
</BODY>
</HTML>

제목 글쓴이 날짜
초보의 php를 활용한 OneFrame(NoFrame) 홈페이지 만들기 - 1 [17] 아이쿠 2002.08.30
array_multisort를 이용한 간단한 순위체크 [4] Doogi 2002.08.28
변수를 사용하여 echo로 변수값 출력하기. [7] ZipShin 2002.08.28
sleep() 제대루 쓰기... 요것두 [별루 알아도 도움 안되는 팁] [5] sMokaHallo 2002.08.24
[허접] implode() 함수로 배열을 변수로! Myzzix 2002.08.23
[허접] rand() 함수를 이용한 뒤죽박죽 날짜 출력 [5] Myzzix 2002.08.23
파일하나로 만드는 한줄 메모장(테마기능 포함) [8] Mr. JH 2002.08.22
PHP의 제어구조 [2] Mr. JH 2002.08.22
PHP 시간관련 함수 [3] Mr. JH 2002.08.22
PHP에서 사용하는 간단하지만 중요한 MySQL함수들 [3] Mr. JH 2002.08.22
꼭 알아야 하는 4가지 쿼리문 Mr. JH 2002.08.22
테이블 생성시 데이터베이스의 타입설정 [2] Mr. JH 2002.08.22
누구나 만들수있는 게시판 [글삭제, 수정 부분] [4] file Mr. JH 2002.08.21
누구나 만들수있는 게시판 [글보기 view.php 부분] [1] Mr. JH 2002.08.21
누구나 만들수있는 게시판 [글목록 list.php 부분] [6] Mr. JH 2002.08.21
누구나 만들수있는 게시판 [schema, write, write_ok] [10] Mr. JH 2002.08.21
제로 카운터 숫자 조정하기 [8] 이주경 2002.08.21
Print 이건또 뭐지? 사이트 찾다보니 있던데..^^ [13] ZipShin 2002.08.16
기초 통계 프로그램 for 귀차니스트;; [3] TheMics 2002.08.10
쓸모있는 PHP Tip (다 알구 있을런지 모르겠네여..^^) [1] 이삐아이(체리) 2002.08.09