자바스크립트(팝업창)에 대해 질문이 있습니다...

안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 1024(=1024픽셀)보다 전체창을 나올수있도록 "100%"로 입력해도
잘 안되었습니다.ㅠㅠㅠ
아래의 소스(빨간색부분)를 보고 뭔가 문제가 있으면 고쳐주시면서도 조언해주세요
잘 부탁합니다 ㅠㅠ
감사합니다~~(--)(__)
 
#############################################################
<!--클릭할때 새창을 나오는 자바스크립트-->
<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' : 'yes';
  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>
...
...
...
...
...
<td width="185" height="25" align="center" bgcolor="<?=$td_color?>"><a href="javascript:na_open_window('win', '<?=$row_sch[uni_enturl];?>', 350, 200, 1024, 500, 0, 0, 0, 0, 0)"><?=$row_sch[uni_name];?></a></td>
--->
<td width="185" height="25" align="center" bgcolor="<?=$td_color?>"><a href="javascript:na_open_window('win', '<?=$row_sch[uni_enturl];?>', 350, 200, 100%, 500, 0, 0, 0, 0, 0)"><?=$row_sch[uni_name];?></a></td>
#############################################################

로 입력해도
잘 안되었습니다.
도와주세요 ㅠㅠㅠ
|

댓글 2개

<td width="185" height="25" align="center" bgcolor="<?=$td_color?>"><a href="javascript:na_open_window('win', '<?=$row_sch[uni_enturl];?>', 350, 200, outerWidth, 500, 0, 0, 0, 0, 0)"><?=$row_sch[uni_name];?></a></td>
꼬을님의 답변을 해주셔서 감사합니다만..
꼬을님의 말씀대로 그렇게 "outerWidth"로 수정해봤는데..오류났더라구요..ㅠㅠㅠ
한번더 조언해주세요 잘부탁합니다.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
Linux 13년 전 조회 1,801
PHP 13년 전 조회 1,745
Linux 13년 전 조회 1,592
Linux 13년 전 조회 1,307
Linux 13년 전 조회 1,777
Linux 13년 전 조회 1,869
Linux 13년 전 조회 1,389
JavaScript 13년 전 조회 5,219
Linux 13년 전 조회 2,776
Linux 13년 전 조회 1,349
Linux 13년 전 조회 1,390
Linux 13년 전 조회 1,542
Linux 13년 전 조회 2,325
Linux 13년 전 조회 1,915
JavaScript 13년 전 조회 2,215
Linux 13년 전 조회 2,488
MySQL 13년 전 조회 2,648
Linux 13년 전 조회 4,100
MySQL 13년 전 조회 3,613
Linux 13년 전 조회 1.4만
Linux 13년 전 조회 1,997
Linux 13년 전 조회 2,184
Linux 13년 전 조회 1,254
Linux 13년 전 조회 2,013
MySQL 13년 전 조회 2,618
Linux 13년 전 조회 2,012
Linux 13년 전 조회 2,109
Linux 13년 전 조회 1,526
Linux 13년 전 조회 1,964
Linux 13년 전 조회 2,913
🐛 버그신고