자바스크립트(팝업창)에 대해 질문이 있습니다...
안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 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년 전 | 56 | ||
| 8229 | 9년 전 | 54 | ||
| 8228 |
커네드커네드
|
9년 전 | 100 | |
| 8227 | 9년 전 | 110 | ||
| 8226 | 9년 전 | 145 | ||
| 8225 | 9년 전 | 135 | ||
| 8224 | 9년 전 | 133 | ||
| 8223 | 9년 전 | 97 | ||
| 8222 |
|
9년 전 | 162 | |
| 8221 | 9년 전 | 77 | ||
| 8220 | 9년 전 | 82 | ||
| 8219 | 9년 전 | 88 | ||
| 8218 | 9년 전 | 114 | ||
| 8217 |
star3840
|
9년 전 | 99 | |
| 8216 | 9년 전 | 139 | ||
| 8215 | 9년 전 | 92 | ||
| 8214 | 9년 전 | 210 | ||
| 8213 | 9년 전 | 142 | ||
| 8212 | 9년 전 | 59 | ||
| 8211 | 9년 전 | 223 | ||
| 8210 | 9년 전 | 221 | ||
| 8209 | 9년 전 | 321 | ||
| 8208 | 9년 전 | 191 | ||
| 8207 | 9년 전 | 202 | ||
| 8206 |
|
9년 전 | 170 | |
| 8205 | 9년 전 | 152 | ||
| 8204 | 9년 전 | 113 | ||
| 8203 | 9년 전 | 207 | ||
| 8202 | 9년 전 | 128 | ||
| 8201 | 9년 전 | 166 | ||
| 8200 | 9년 전 | 138 | ||
| 8199 | 9년 전 | 189 | ||
| 8198 | 9년 전 | 159 | ||
| 8197 | 9년 전 | 140 | ||
| 8196 | 9년 전 | 524 | ||
| 8195 | 9년 전 | 137 | ||
| 8194 | 9년 전 | 270 | ||
| 8193 | 9년 전 | 137 | ||
| 8192 | 9년 전 | 167 | ||
| 8191 | 9년 전 | 120 | ||
| 8190 | 9년 전 | 114 | ||
| 8189 | 9년 전 | 168 | ||
| 8188 | 9년 전 | 116 | ||
| 8187 | 9년 전 | 121 | ||
| 8186 | 9년 전 | 134 | ||
| 8185 | 9년 전 | 295 | ||
| 8184 | 9년 전 | 87 | ||
| 8183 | 9년 전 | 309 | ||
| 8182 | 9년 전 | 145 | ||
| 8181 | 9년 전 | 115 | ||
| 8180 | 9년 전 | 678 | ||
| 8179 | 9년 전 | 475 | ||
| 8178 | 9년 전 | 279 | ||
| 8177 |
kiplayer
|
9년 전 | 289 | |
| 8176 | 9년 전 | 333 | ||
| 8175 | 9년 전 | 204 | ||
| 8174 | 9년 전 | 211 | ||
| 8173 | 9년 전 | 324 | ||
| 8172 | 9년 전 | 172 | ||
| 8171 | 9년 전 | 162 | ||
| 8170 | 9년 전 | 283 | ||
| 8169 |
커네드커네드
|
9년 전 | 246 | |
| 8168 | 9년 전 | 302 | ||
| 8167 | 9년 전 | 306 | ||
| 8166 | 9년 전 | 219 | ||
| 8165 | 9년 전 | 148 | ||
| 8164 | 9년 전 | 281 | ||
| 8163 | 9년 전 | 266 | ||
| 8162 | 9년 전 | 275 | ||
| 8161 | 9년 전 | 274 | ||
| 8160 |
|
9년 전 | 470 | |
| 8159 | 9년 전 | 393 | ||
| 8158 | 9년 전 | 211 | ||
| 8157 | 9년 전 | 347 | ||
| 8156 | 9년 전 | 258 | ||
| 8155 | 9년 전 | 234 | ||
| 8154 |
00년생용띠
|
9년 전 | 579 | |
| 8153 | 9년 전 | 211 | ||
| 8152 |
|
9년 전 | 389 | |
| 8151 | 9년 전 | 387 | ||
| 8150 | 9년 전 | 481 | ||
| 8149 |
Jangfolk
|
9년 전 | 316 | |
| 8148 | 9년 전 | 150 | ||
| 8147 | 9년 전 | 358 | ||
| 8146 | 9년 전 | 415 | ||
| 8145 | 9년 전 | 344 | ||
| 8144 | 9년 전 | 315 | ||
| 8143 | 9년 전 | 168 | ||
| 8142 | 9년 전 | 414 | ||
| 8141 | 9년 전 | 361 | ||
| 8140 | 9년 전 | 910 | ||
| 8139 | 9년 전 | 236 | ||
| 8138 |
전갈자리남자
|
9년 전 | 377 | |
| 8137 | 9년 전 | 359 | ||
| 8136 | 9년 전 | 719 | ||
| 8135 |
|
9년 전 | 773 | |
| 8134 |
PlayPixel
|
9년 전 | 483 | |
| 8133 |
|
9년 전 | 422 | |
| 8132 | 9년 전 | 433 | ||
| 8131 | 9년 전 | 789 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기