<SCRIPT>
<!--
function reload() {
var timeleft = time.left;
timeleft.value = timeleft.value - 1;
if (timeleft.value < 1) window.Location="monitoring.html" ;
//this would point to this page if you wanted to reload.
//Here I'm using it to keep people from just sitting on this page.
{setTimeout('reload()',1000);}
}
setTimeout('reload()',1000)
//-->
</SCRIPT>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>모니터링</title>
</head>
<body>
<FORM NAME="time">
auto reload time : <INPUT TYPE=TEXT NAME="left" VALUE=60> seconds left</FORM>
<iframe name="portal" src="http://www.socialservice.or.kr/" height="1024" width="1280" ></iframe>
</body>
</html>
'Language > JAVASCRIPT' 카테고리의 다른 글
자바스크립트 RGB 색상 함수 적용 예제 (0) | 2011.04.28 |
---|---|
javascript : event.keyCode (0) | 2010.10.01 |
브라우져에서 입력 키값 찾아내기 ! (0) | 2010.01.18 |
[스크립트] [퍼옴] 즐겨찾기에 추가 (IE, FF, Opera 지원) (0) | 2010.01.18 |