//시간 관련 타이머
var sumTime=1;
var timeObject = null;
function startTime(){
//15초입니당
timeObject=setInterval("ShowTime()", 1000)

}
function ShowTime(){

  playerComment.innerHTML="<span id='showTime'>15초 미리보기 입니다 남은시간 "+sumTime+"</span>";
  sumTime++;
  if (sumTime>= 16 ){
   endTime();
  }
}
function endTime(){
clearInterval(timeObject);
}

음하하하 이게 더 쉽따 ㅡㅡ;

------------------------------------------------------------------------------

<html>
<head>
<title>http://perlbbs.com/</title>
</head>

<body onload=cnt()>
<center>
<table border="0" cellpadding="0" cellspacing="0"> 
    <tr> 
        <td align="center">
<form name="form1" method="get"> 
            <p align="center"><font size="2"><b><br> 5초후 자동으로 이동 합니다.</b></font><br>
<br> 
<input type="text" name="text1" size="2" style="font-family:'Comic Sans MS'; font-size:60pt; text-align:center; border-width:0; border-style:solid;" readonly><br> <br>
<input type="button" value=" 바로가기 " onclick="if(document.all)cnt2()" style="font-weight:bold; font-size:10pt; padding-top:3;"><br> <br>

         </td> 
    </tr> 
</table>
<script language="JavaScript"> 
<!-- 

if(document.all)document.write('<embed src="tting.wav" width="100" height="100" border="0" hidden="true" autostart="false"><embed src="tting2.wav" width="100" height="100" border="0" hidden="true" autostart="false">') 
if(document.all)document.write('<bgsound id="kts">') 
//if(document.layers){alert('Sorry Netscape User~! ^^;');document.write('죄송합니다. 이 홈페이지는 넷스케이프에서는 보실 수 없습니다.')} 

var timer1=null 
var a=5 
var GoUrl="http://perlbbs.com/"; 

function cnt(){ 
form1.text1.value = a 
a-- 
kts.src='tting.wav' 
timer1=setTimeout('cnt()',1000) 
if(a==-1){
  kts.src='tting2.wav';
  clearTimeout(timer1);
  setTimeout('top.location=GoUrl',1000)} 

function cnt2(){ 
  clearTimeout(timer1) 
  form1.text1.value='Go' 
  setTimeout('top.location=GoUrl',1000) 

//-->            
</script> 

</body>
</html>
<!--start sima--><center><input type="button" value="View Source" onClick='window.location="view-source:"+window.location.href'><!--end sima-->

+ Recent posts