웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
일반 시간......
2006.10.10 22:12
<html>
<head>
<title>시간</title>
<meta name="generator" content="Namo WebEditor v4.0">
<script language="LiveScript">
function GoBack() {
if (confirm("Are you sure you want to go to the previous page?")) {
history.back()
}
}
timestr = "00:00:00";
tid = 0;
pause = 0;
var to;
var bcount;
var tcount;
function writer(){
document.write("test");
}
function time(n) {
tid=window.setTimeout("time(1)",to);
today = new Date()
if(today.getMinutes() < 10){
pad = "0"}
else
pad = "";
if(today.getSeconds() < 10){
pads = "0"}
else
pads = "";
timestr=today.getHours()+":"+pad+today.getMinutes()+":"+pads+today.getSeconds();
f.result.value = timestr;
window.status = timestr;
window.clearTimeout(tid);
tid=window.setTimeout("time()",to);
}
function start(x) {
f=x;
to=60;
time(x);
}
function cleartids() {
window.clearTimeout(tid);
}
</script>
</head>
<BODY onload="start(document.forms[0]);" onunload="cleartids();">
<form name="time">
<input type="text" name="result" size="11">
</form>
<p> </p>
</body>
</html>
추천 꽝!!
안해도됩니다^.^
<head>
<title>시간</title>
<meta name="generator" content="Namo WebEditor v4.0">
<script language="LiveScript">
function GoBack() {
if (confirm("Are you sure you want to go to the previous page?")) {
history.back()
}
}
timestr = "00:00:00";
tid = 0;
pause = 0;
var to;
var bcount;
var tcount;
function writer(){
document.write("test");
}
function time(n) {
tid=window.setTimeout("time(1)",to);
today = new Date()
if(today.getMinutes() < 10){
pad = "0"}
else
pad = "";
if(today.getSeconds() < 10){
pads = "0"}
else
pads = "";
timestr=today.getHours()+":"+pad+today.getMinutes()+":"+pads+today.getSeconds();
f.result.value = timestr;
window.status = timestr;
window.clearTimeout(tid);
tid=window.setTimeout("time()",to);
}
function start(x) {
f=x;
to=60;
time(x);
}
function cleartids() {
window.clearTimeout(tid);
}
</script>
</head>
<BODY onload="start(document.forms[0]);" onunload="cleartids();">
<form name="time">
<input type="text" name="result" size="11">
</form>
<p> </p>
</body>
</html>
추천 꽝!!
안해도됩니다^.^
제목 | 글쓴이 | 날짜 |
---|---|---|
휴대폰 결재 활용 (최종) | 한꼬마 | 2002.11.26 |
카드 결재 개요 (텔렉) [2] | 한꼬마 | 2002.11.26 |
카드 결재시 사용되는 자바스크립트와 html [3] | 한꼬마 | 2002.11.28 |
제로카운터 접속자 수 조정, 최고 간편한 팁(5초 소요, DB보존) [4] | 고광욱 | 2002.12.01 |
파일처리 - fseek [3] | 위선OSE | 2002.12.03 |
MYSQL CLASS | 위선OSE | 2002.12.03 |
PHP 각종 오류 정리 [15] | TheMics | 2002.12.04 |
왕초보용 개판 오분전 황당 쿠키(1) [4] | 미친개 | 2002.12.09 |
왕초보용 개판 오분전 황당 쿠키(2) [6] | 미친개 | 2002.12.09 |
왕초보용 개판 오분전 황당 쿠키(3) [2] | 미친개 | 2002.12.09 |
왕초보용 개판 오분전 황당 쿠키(4) [2] | 미친개 | 2002.12.09 |
if 문으로 xxx.php?db=src 이런식으로 해보자..(제1탄 기초를 확!) [14] | inging-zb41 | 2002.12.12 |
[동주아빠] PHP 게시판 만들기 기초 (1) 준비 [8] | 손병목 | 2002.12.25 |
[동주아빠] PHP 게시판 만들기 기초 (2) [12] | 손병목 | 2002.12.25 |
[동주아빠] PHP 게시판 만들기 기초 (3) 변수와 배열 [6] | 손병목 | 2002.12.25 |
[동주아빠] PHP 게시판 만들기 기초 (4) 연산자 [10] | 손병목 | 2002.12.25 |
[동주아빠] PHP 게시판 만들기 기초 (5) 제어문(上) [9] | 손병목 | 2002.12.25 |
[동주아빠] PHP 게시판 만들기 기초 (5) 제어문(下) [10] | 손병목 | 2002.12.25 |
[동주아빠] PHP 게시판 만들기 기초 (6) require,include [5] | 손병목 | 2002.12.25 |
[동주아빠] PHP 게시판 만들기 기초 (7) 사용자정의함수 [4] | 손병목 | 2002.12.25 |