Develop

[js] 새로고침(refresh)방법과 다른 페이지 바꾸기..

by hooni posted Apr 23, 2003
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
<html> 
<head> 
<title>접속자 보기(닉스피아)</title> 
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> 
function start() 
setInterval("alert()",10000); 

function alert() 
        location.reload(); 
        window.status=" "; 
        return true; 
//--> 
</script> 
</head> 
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 
아무내용이나 ~~~ 파일에서 카운터나,내용을 부르거나 
DB에서 접속자나 기타 내용을 실시간으로 업데이트 되는 내용을 넣어 보세요. 
<script>start();</script> 
</body>
</html>