자바스크립트(팝업창)에 대해 질문이 있습니다...
안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 1024(=1024픽셀)보다 전체창을 나올수있도록 "100%"로 입력해도
잘 안되었습니다.ㅠㅠㅠ
아래의 소스(빨간색부분)를 보고 뭔가 문제가 있으면 고쳐주시면서도 조언해주세요
잘 부탁합니다 ㅠㅠ
감사합니다~~(--)(__)
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 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>
<!--
<!--
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>
<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개
13년 전
<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>
13년 전
꼬을님의 답변을 해주셔서 감사합니다만..
꼬을님의 말씀대로 그렇게 "outerWidth"로 수정해봤는데..오류났더라구요..ㅠㅠㅠ
한번더 조언해주세요 잘부탁합니다.
꼬을님의 말씀대로 그렇게 "outerWidth"로 수정해봤는데..오류났더라구요..ㅠㅠㅠ
한번더 조언해주세요 잘부탁합니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8230 | 9년 전 | 58 | ||
| 8229 | 9년 전 | 57 | ||
| 8228 |
커네드커네드
|
9년 전 | 103 | |
| 8227 | 9년 전 | 111 | ||
| 8226 | 9년 전 | 147 | ||
| 8225 | 9년 전 | 136 | ||
| 8224 | 9년 전 | 137 | ||
| 8223 | 9년 전 | 101 | ||
| 8222 |
|
9년 전 | 163 | |
| 8221 | 9년 전 | 78 | ||
| 8220 | 9년 전 | 83 | ||
| 8219 | 9년 전 | 89 | ||
| 8218 | 9년 전 | 120 | ||
| 8217 |
star3840
|
9년 전 | 101 | |
| 8216 | 9년 전 | 139 | ||
| 8215 | 9년 전 | 94 | ||
| 8214 | 9년 전 | 211 | ||
| 8213 | 9년 전 | 143 | ||
| 8212 | 9년 전 | 63 | ||
| 8211 | 9년 전 | 224 | ||
| 8210 | 9년 전 | 226 | ||
| 8209 | 9년 전 | 322 | ||
| 8208 | 9년 전 | 194 | ||
| 8207 | 9년 전 | 204 | ||
| 8206 |
|
9년 전 | 171 | |
| 8205 | 9년 전 | 152 | ||
| 8204 | 9년 전 | 116 | ||
| 8203 | 9년 전 | 212 | ||
| 8202 | 9년 전 | 131 | ||
| 8201 | 9년 전 | 167 | ||
| 8200 | 9년 전 | 140 | ||
| 8199 | 9년 전 | 192 | ||
| 8198 | 9년 전 | 160 | ||
| 8197 | 9년 전 | 145 | ||
| 8196 | 9년 전 | 530 | ||
| 8195 | 9년 전 | 139 | ||
| 8194 | 9년 전 | 270 | ||
| 8193 | 9년 전 | 141 | ||
| 8192 | 9년 전 | 171 | ||
| 8191 | 9년 전 | 124 | ||
| 8190 | 9년 전 | 114 | ||
| 8189 | 9년 전 | 171 | ||
| 8188 | 9년 전 | 116 | ||
| 8187 | 9년 전 | 122 | ||
| 8186 | 9년 전 | 134 | ||
| 8185 | 9년 전 | 298 | ||
| 8184 | 9년 전 | 91 | ||
| 8183 | 9년 전 | 310 | ||
| 8182 | 9년 전 | 150 | ||
| 8181 | 9년 전 | 116 | ||
| 8180 | 9년 전 | 680 | ||
| 8179 | 9년 전 | 475 | ||
| 8178 | 9년 전 | 283 | ||
| 8177 |
kiplayer
|
9년 전 | 294 | |
| 8176 | 9년 전 | 336 | ||
| 8175 | 9년 전 | 206 | ||
| 8174 | 9년 전 | 217 | ||
| 8173 | 9년 전 | 325 | ||
| 8172 | 9년 전 | 177 | ||
| 8171 | 9년 전 | 164 | ||
| 8170 | 9년 전 | 283 | ||
| 8169 |
커네드커네드
|
9년 전 | 246 | |
| 8168 | 9년 전 | 303 | ||
| 8167 | 9년 전 | 307 | ||
| 8166 | 9년 전 | 219 | ||
| 8165 | 9년 전 | 148 | ||
| 8164 | 9년 전 | 283 | ||
| 8163 | 9년 전 | 270 | ||
| 8162 | 9년 전 | 278 | ||
| 8161 | 9년 전 | 278 | ||
| 8160 |
|
9년 전 | 473 | |
| 8159 | 9년 전 | 395 | ||
| 8158 | 9년 전 | 217 | ||
| 8157 | 9년 전 | 350 | ||
| 8156 | 9년 전 | 264 | ||
| 8155 | 9년 전 | 237 | ||
| 8154 |
00년생용띠
|
9년 전 | 581 | |
| 8153 | 9년 전 | 216 | ||
| 8152 |
|
9년 전 | 391 | |
| 8151 | 9년 전 | 388 | ||
| 8150 | 9년 전 | 482 | ||
| 8149 |
Jangfolk
|
9년 전 | 322 | |
| 8148 | 9년 전 | 153 | ||
| 8147 | 9년 전 | 359 | ||
| 8146 | 9년 전 | 417 | ||
| 8145 | 9년 전 | 349 | ||
| 8144 | 9년 전 | 319 | ||
| 8143 | 9년 전 | 175 | ||
| 8142 | 9년 전 | 416 | ||
| 8141 | 9년 전 | 362 | ||
| 8140 | 9년 전 | 913 | ||
| 8139 | 9년 전 | 240 | ||
| 8138 |
전갈자리남자
|
9년 전 | 378 | |
| 8137 | 9년 전 | 365 | ||
| 8136 | 9년 전 | 720 | ||
| 8135 |
|
9년 전 | 775 | |
| 8134 |
PlayPixel
|
9년 전 | 486 | |
| 8133 |
|
9년 전 | 423 | |
| 8132 | 9년 전 | 436 | ||
| 8131 | 9년 전 | 796 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기