테스트 사이트 - 개발 중인 베타 버전입니다

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

안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 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"로 수정해봤는데..오류났더라구요..ㅠㅠㅠ
한번더 조언해주세요 잘부탁합니다.

게시판 목록

프로그램

글쓰기