시디를 구워서
자동으로 읽으면 프로그램 새창으로 띄울때..
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
</head>
<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);
self.opener=self;
self.close();
}
// -->
</script>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" onLoad="na_open_window('_new', 'index.htm', 0, 0, 802, 540, 0, 0, 0, 0, 0)">
</body>
</html>
자동으로 읽으면 프로그램 새창으로 띄울때..
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
</head>
<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);
self.opener=self;
self.close();
}
// -->
</script>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" onLoad="na_open_window('_new', 'index.htm', 0, 0, 802, 540, 0, 0, 0, 0, 0)">
</body>
</html>
댓글