이게 좋음. My
<A onclick="window.open('http://web.godpia.com/_ezaid/board/genBoardForm.ez?
method=list&pfkHomepageNo=838&fkBoardEntryPkNo=8','new','resizable=no channelmode
scrollbars');return false" href="#">
이방법도 되긴 하나, 어미창이 여전히 active하고, 새로생긴 최대창은 비활성화상태가 됨.
<A href="#" onclick="window.open('doong.html,'name','fullscreen,scrollbars')">
===============================================
cf.
http://cafe.naver.com/chobogate.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=78
1. 가로 100px, 세로 100px 새창띄우기
<a href="#" onclick="window.open('이동주소','new','resizable=no width=100 height=100');return false">새창띄우기</a>
2. 풀스크린으로 새창 띄우기
<a href="#" onclick="window.open('이동주소','new','resizable=no channelmode');return false">새창띄우기</a>
3. 플래시에서 응용하기
새창띄우기
on (press) {
getURL("javascript:window.open('http://www.naver.com','nwindow','width=510,height=500,marginwidth=0,marginheight=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no');void(0);");
}
또는
전체화면으로 띄우기
on (press) {
getURL("javascript:window.open('http://www.naver.com','nwindow','fullscreen');void(0);");
}
<html>
<head>
<script type="text/javascript">
function openSDZ()
{
var SDZ_num = 3;
var w = window.open("http://www.naver.com","SDZWindow","top=200,left=200,width=400,height=400,fullscreen="+SDZ_num);
}
</script>
</head>
<body>
<form>
<input type="button" value="열기" onclick="openSDZ();">
</form>
</body>
</html>
자동으로 뜨도록 하시려면 스크립트를 아래와 같이 하시면 됩니다.
<script type="text/javascript">
function openSDZ()
{
var SDZ_num = 3;
var w = window.open("http://www.naver.com","SDZWindow","top=200,left=200,width=200,height=356,fullscreen="+SDZ_num);
}
openSDZ();
</script>