<html>
<head><title>새로운 윈도우 열기 스크립트</title><meta name=\"generator\" content=\"Namo WebEditor v4.0\">
<script language=\"JavaScript\"><!--function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable){ toolbar_str = toolbar ? \'yes\' : \'no\'; menubar_str = menubar ? \'yes\' : \'no\'; statusbar_str = statusbar ? \'yes\' : \'no\'; scrollbar_str = scrollbar ? \'yes\' : \'no\'; resizable_str = resizable ? \'yes\' : \'no\'; window.open(url, name, \'left=\'+left+\',top=\'+top+\',width=\'+width+\',height=\'+height+\',toolbar=\'+toolbar_str+\',menubar=\'+menubar_str+\',status=\'+statusbar_str+\',scrollbars=\'+scrollbar_str+\',resizable=\'+resizable_str);}
//--></script>
</head>
<body bgcolor=\"white\" text=\"black\" link=\"blue\" vlink=\"purple\" alink=\"red\" OnLoad=\"na_open_window(\'win\', \'win.html\', 0, 0, 450, 250, 0, 0, 0, 0, 0);\"><p>새로운 윈도우 열기 스크립트입니다. </p></body>
</html>
그러니까 win.html 새창입니다. 초기화면에 이 코드를 심으시고 win.html을
새창으로 만들어서 서버의 같은 폴더에 올려보세요.
교컴지기 드림
예제가 아래 페이지에 있습니다. 왼쪽 메뉴 세번째 눌러보세요.
http://webtutor.pe.kr/wizard/
<html>
<head>
<title>새로운 윈도우 열기 스크립트</title>
<meta name=\"generator\" content=\"Namo WebEditor v4.0\">
<script language=\"JavaScript\">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? \'yes\' : \'no\';
menubar_str = menubar ? \'yes\' : \'no\';
statusbar_str = statusbar ? \'yes\' : \'no\';
scrollbar_str = scrollbar ? \'yes\' : \'no\';
resizable_str = resizable ? \'yes\' : \'no\';
window.open(url, name, \'left=\'+left+\',top=\'+top+\',width=\'+width+\',height=\'+height+\',toolbar=\'+toolbar_str+\',menubar=\'+menubar_str+\',status=\'+statusbar_str+\',scrollbars=\'+scrollbar_str+\',resizable=\'+resizable_str);
}
//-->
</script>
</head>
<body bgcolor=\"white\" text=\"black\" link=\"blue\" vlink=\"purple\" alink=\"red\" OnLoad=\"na_open_window(\'win\', \'win.html\', 0, 0, 450, 250, 0, 0, 0, 0, 0);\">
<p>새로운 윈도우 열기 스크립트입니다. </p>
</body>
</html>
그러니까 win.html 새창입니다. 초기화면에 이 코드를 심으시고 win.html을
새창으로 만들어서 서버의 같은 폴더에 올려보세요.
교컴지기 드림