java

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ java ] in KIDS
글 쓴 이(By): NeuMann (요술공주)
날 짜 (Date): 1999년 7월 14일 수요일 오전 09시 39분 19초
제 목(Title): Re: [Q] 다른 홈페이쥐로 연결하기...


다음과 같이 하면 됩니다.

여기서 시간과 원하는 URL만 변경하면 됩니다.

<script>
<!--
/*Time limit script- Website Abstraction (http://www.wsabstract.com) Over 200+ 
free JavaScripts here!*/
//enter limit in "minutes:seconds" Minutes should range from 0 to inifinity. 
Seconds should range from 0 to 59
var limit="0:10"
window.document.write("test 문장 \n");
if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function begintimer(){
if (!document.images)
return
if (parselimit==1)
window.location="http://www.wsabstract.com"
else{ 
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+" minutes and "+cursec+" seconds left"
else
curtime=cursec+" seconds left"
window.status=curtime
setTimeout("begintimer()",1000)
}
}
//-->
</script>

<body onLoad="begintimer()"> 

----그럼.
 
[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.