자바스크립트(팝업창)에 대해 질문이 있습니다...
안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 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"로 수정해봤는데..오류났더라구요..ㅠㅠㅠ
한번더 조언해주세요 잘부탁합니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8030 | 9년 전 | 354 | ||
| 8029 | 9년 전 | 287 | ||
| 8028 | 9년 전 | 254 | ||
| 8027 | 9년 전 | 266 | ||
| 8026 | 9년 전 | 310 | ||
| 8025 | 9년 전 | 367 | ||
| 8024 | 9년 전 | 333 | ||
| 8023 | 9년 전 | 380 | ||
| 8022 | 9년 전 | 310 | ||
| 8021 | 9년 전 | 314 | ||
| 8020 | 9년 전 | 308 | ||
| 8019 | 9년 전 | 330 | ||
| 8018 | 9년 전 | 437 | ||
| 8017 | 9년 전 | 531 | ||
| 8016 | 9년 전 | 317 | ||
| 8015 | 9년 전 | 381 | ||
| 8014 | 9년 전 | 314 | ||
| 8013 | 9년 전 | 227 | ||
| 8012 | 9년 전 | 236 | ||
| 8011 | 9년 전 | 436 | ||
| 8010 | 9년 전 | 289 | ||
| 8009 | 9년 전 | 273 | ||
| 8008 | 9년 전 | 278 | ||
| 8007 | 9년 전 | 420 | ||
| 8006 | 9년 전 | 454 | ||
| 8005 |
|
9년 전 | 957 | |
| 8004 | 9년 전 | 341 | ||
| 8003 | 9년 전 | 413 | ||
| 8002 | 9년 전 | 317 | ||
| 8001 |
|
9년 전 | 661 | |
| 8000 | 9년 전 | 405 | ||
| 7999 | 9년 전 | 366 | ||
| 7998 | 9년 전 | 418 | ||
| 7997 | 9년 전 | 304 | ||
| 7996 | 9년 전 | 529 | ||
| 7995 | 9년 전 | 445 | ||
| 7994 | 9년 전 | 294 | ||
| 7993 | 9년 전 | 364 | ||
| 7992 | 9년 전 | 499 | ||
| 7991 | 9년 전 | 241 | ||
| 7990 | 9년 전 | 261 | ||
| 7989 | 9년 전 | 294 | ||
| 7988 | 9년 전 | 719 | ||
| 7987 | 9년 전 | 412 | ||
| 7986 | 9년 전 | 404 | ||
| 7985 | 9년 전 | 501 | ||
| 7984 | 9년 전 | 422 | ||
| 7983 | 9년 전 | 642 | ||
| 7982 | 9년 전 | 504 | ||
| 7981 | 9년 전 | 451 | ||
| 7980 | 9년 전 | 480 | ||
| 7979 | 9년 전 | 452 | ||
| 7978 | 9년 전 | 433 | ||
| 7977 | 9년 전 | 373 | ||
| 7976 | 9년 전 | 844 | ||
| 7975 | 9년 전 | 353 | ||
| 7974 | 9년 전 | 384 | ||
| 7973 | 9년 전 | 584 | ||
| 7972 | 9년 전 | 370 | ||
| 7971 | 9년 전 | 449 | ||
| 7970 | 9년 전 | 285 | ||
| 7969 | 9년 전 | 534 | ||
| 7968 | 9년 전 | 371 | ||
| 7967 | 9년 전 | 360 | ||
| 7966 | 9년 전 | 361 | ||
| 7965 |
|
9년 전 | 1007 | |
| 7964 | 9년 전 | 391 | ||
| 7963 | 9년 전 | 380 | ||
| 7962 | 9년 전 | 362 | ||
| 7961 |
전갈자리남자
|
9년 전 | 499 | |
| 7960 | 9년 전 | 954 | ||
| 7959 | 9년 전 | 544 | ||
| 7958 | 9년 전 | 400 | ||
| 7957 | 9년 전 | 360 | ||
| 7956 | 9년 전 | 364 | ||
| 7955 | 9년 전 | 435 | ||
| 7954 | 9년 전 | 364 | ||
| 7953 | 9년 전 | 419 | ||
| 7952 | 9년 전 | 345 | ||
| 7951 | 9년 전 | 492 | ||
| 7950 | 9년 전 | 379 | ||
| 7949 | 9년 전 | 381 | ||
| 7948 | 9년 전 | 318 | ||
| 7947 | 9년 전 | 923 | ||
| 7946 | 9년 전 | 414 | ||
| 7945 | 9년 전 | 384 | ||
| 7944 | 9년 전 | 396 | ||
| 7943 | 9년 전 | 360 | ||
| 7942 | 9년 전 | 400 | ||
| 7941 | 9년 전 | 379 | ||
| 7940 | 9년 전 | 871 | ||
| 7939 | 9년 전 | 333 | ||
| 7938 | 9년 전 | 366 | ||
| 7937 | 9년 전 | 269 | ||
| 7936 | 9년 전 | 872 | ||
| 7935 | 9년 전 | 430 | ||
| 7934 | 9년 전 | 396 | ||
| 7933 | 9년 전 | 484 | ||
| 7932 | 9년 전 | 455 | ||
| 7931 | 9년 전 | 512 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기