본문 바로가기
셈틀 Com/홈페이지

자기 창 띄우기

by 길목 2003. 12. 4.
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
</head>
<script language="JavaScript">
<!--
function open_win(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 onLoad="open_win('_new', 'open.htm', 0, 0, 300, 200, 0, 0, 0, 1, 0);">
 
</body>
??????????
</html>

댓글