안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 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개
게시글 목록
| 번호 | 제목 |
|---|---|
| 12245 |
PHP
php 함수검색기 입니다.
|
| 12244 | |
| 12243 | |
| 12241 | |
| 12239 | |
| 12238 | |
| 12237 |
Mobile
모바일웹에서 현재위치의 좌표 가져오기
|
| 12233 |
JavaScript
alert 창 디자인하기
3
|
| 12232 |
JavaScript
자동완성 자바스크립트
|
| 12230 |
PHP
주소로 구글 좌표 구하기
1
|
| 355 | |
| 12227 | |
| 12226 | |
| 12225 | |
| 353 | |
| 12221 |
PHP
vi 정리 입니다.
3
|
| 12220 | |
| 12219 | |
| 12218 |
PHP
검색사이트 긁어오기 입니다.
|
| 12217 | |
| 12216 | |
| 12215 | |
| 12214 | |
| 12213 | |
| 12212 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기