자바스크립트(팝업창)에 대해 질문이 있습니다...
안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 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"로 수정해봤는데..오류났더라구요..ㅠㅠㅠ
한번더 조언해주세요 잘부탁합니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 430 | 19년 전 | 4134 | ||
| 429 | 19년 전 | 3326 | ||
| 428 | 19년 전 | 4148 | ||
| 427 | 19년 전 | 3494 | ||
| 426 | 19년 전 | 3125 | ||
| 425 | 19년 전 | 3432 | ||
| 424 | 19년 전 | 2458 | ||
| 423 | 19년 전 | 2882 | ||
| 422 | 19년 전 | 2376 | ||
| 421 | 19년 전 | 3732 | ||
| 420 | 19년 전 | 4760 | ||
| 419 | 19년 전 | 3835 | ||
| 418 |
|
19년 전 | 1770 | |
| 417 | 19년 전 | 2770 | ||
| 416 | 19년 전 | 2416 | ||
| 415 | 19년 전 | 2621 | ||
| 414 | 19년 전 | 4434 | ||
| 413 |
|
19년 전 | 2628 | |
| 412 | 19년 전 | 3071 | ||
| 411 |
|
19년 전 | 3010 | |
| 410 |
|
19년 전 | 3715 | |
| 409 |
|
19년 전 | 3656 | |
| 408 |
|
19년 전 | 1878 | |
| 407 | 19년 전 | 2249 | ||
| 406 | 19년 전 | 2813 | ||
| 405 | 19년 전 | 2479 | ||
| 404 | 19년 전 | 4331 | ||
| 403 | 19년 전 | 3322 | ||
| 402 |
NeoGenesis
|
19년 전 | 4115 | |
| 401 | 19년 전 | 2629 | ||
| 400 |
|
19년 전 | 2529 | |
| 399 | 19년 전 | 2983 | ||
| 398 | 19년 전 | 2518 | ||
| 397 | 19년 전 | 2811 | ||
| 396 | 19년 전 | 2516 | ||
| 395 | 19년 전 | 3222 | ||
| 394 | 19년 전 | 1762 | ||
| 393 | 19년 전 | 3022 | ||
| 392 | 19년 전 | 2291 | ||
| 391 | 19년 전 | 2196 | ||
| 390 | 19년 전 | 2307 | ||
| 389 | 19년 전 | 2667 | ||
| 388 | 19년 전 | 2212 | ||
| 387 | 19년 전 | 4501 | ||
| 386 |
|
19년 전 | 2707 | |
| 385 |
|
19년 전 | 2518 | |
| 384 | 19년 전 | 3053 | ||
| 383 | 19년 전 | 3083 | ||
| 382 | 19년 전 | 3129 | ||
| 381 |
|
19년 전 | 2654 | |
| 380 |
|
19년 전 | 3038 | |
| 379 | 19년 전 | 2565 | ||
| 378 | 19년 전 | 2235 | ||
| 377 | 19년 전 | 2801 | ||
| 376 | 19년 전 | 2486 | ||
| 375 |
|
19년 전 | 2582 | |
| 374 | 19년 전 | 3838 | ||
| 373 | 19년 전 | 3291 | ||
| 372 | 19년 전 | 5014 | ||
| 371 |
세은아빠2
|
19년 전 | 2437 | |
| 370 | 19년 전 | 4517 | ||
| 369 | 19년 전 | 3124 | ||
| 368 | 19년 전 | 2920 | ||
| 367 | 19년 전 | 3748 | ||
| 366 | 19년 전 | 2674 | ||
| 365 | 19년 전 | 3764 | ||
| 364 | 19년 전 | 4038 | ||
| 363 | 19년 전 | 3473 | ||
| 362 | 20년 전 | 3506 | ||
| 361 | 20년 전 | 4130 | ||
| 360 |
hwatta
|
20년 전 | 2388 | |
| 359 | 20년 전 | 5130 | ||
| 358 | 20년 전 | 3677 | ||
| 357 | 20년 전 | 2623 | ||
| 356 |
sdesign1s
|
20년 전 | 2302 | |
| 355 | 20년 전 | 2779 | ||
| 354 | 20년 전 | 3044 | ||
| 353 | 20년 전 | 2813 | ||
| 352 |
|
20년 전 | 5795 | |
| 351 |
|
20년 전 | 2732 | |
| 350 |
|
20년 전 | 4320 | |
| 349 |
hwatta
|
20년 전 | 2216 | |
| 348 | 20년 전 | 7330 | ||
| 347 | 20년 전 | 2433 | ||
| 346 | 20년 전 | 3532 | ||
| 345 | 20년 전 | 4333 | ||
| 344 | 20년 전 | 2676 | ||
| 343 | 20년 전 | 3940 | ||
| 342 | 20년 전 | 3088 | ||
| 341 | 20년 전 | 4122 | ||
| 340 |
|
20년 전 | 5181 | |
| 339 |
|
20년 전 | 4259 | |
| 338 | 20년 전 | 5899 | ||
| 337 | 20년 전 | 2065 | ||
| 336 |
|
20년 전 | 3357 | |
| 335 |
|
20년 전 | 3571 | |
| 334 |
|
20년 전 | 2966 | |
| 333 |
hwatta
|
20년 전 | 2470 | |
| 332 | 20년 전 | 4674 | ||
| 331 | 20년 전 | 2300 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기