안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 1024(=1024픽셀)보다 전체창을 나올수있도록 "100%"로 입력해도
잘 안되었습니다.ㅠㅠㅠ
아래의 소스를 보고 뭔가 문제가 있으면 고쳐주시면서도 조언해주세요
잘 부탁합니다 ㅠㅠ
감사합니다~~(--)(__)
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 1024(=1024픽셀)보다 전체창을 나올수있도록 "100%"로 입력해도
잘 안되었습니다.ㅠㅠㅠ
아래의 소스를 보고 뭔가 문제가 있으면 고쳐주시면서도 조언해주세요
잘 부탁합니다 ㅠㅠ
감사합니다~~(--)(__)
<SCRIPT LANGUAGE="JavaScript">
<!--
function pop_player(ref) {
var f = document.mform;
var window_left = (screen.width-640)/5;
var window_top = 0;
/* 보류
window.open(ref,"p_player",'width=1124,scrollbars=no,height=568,status=no,top=' + window_top + ' left =' +
<!--
function pop_player(ref) {
var f = document.mform;
var window_left = (screen.width-640)/5;
var window_top = 0;
/* 보류
window.open(ref,"p_player",'width=1124,scrollbars=no,height=568,status=no,top=' + window_top + ' left =' +
window_left + ' '); // 강의노트보이는 크기
*/
window.open(ref,"p_player",'width=100%,scrollbars=no,height=100%,status=no,top=' + window_top + ' left =' +
*/
window.open(ref,"p_player",'width=100%,scrollbars=no,height=100%,status=no,top=' + window_top + ' left =' +
window_left + ' '); // 강의노트보이는 크기
}
}
function pop_player_note(ref) {
var f = document.mform;
var window_left = (screen.width-640)/5;
var window_top = 0;
/* 보류
window.open(ref,"p_player",'width=1124,scrollbars=no,height=568,status=no,top=' + window_top + ' left =' +
var f = document.mform;
var window_left = (screen.width-640)/5;
var window_top = 0;
/* 보류
window.open(ref,"p_player",'width=1124,scrollbars=no,height=568,status=no,top=' + window_top + ' left =' +
window_left + ' '); // 강의노트보이는 크기
*/
window.open(ref,"p_player",'width=100%,scrollbars=no,height=100%,status=no,top=' + window_top + ' left =' +
*/
window.open(ref,"p_player",'width=100%,scrollbars=no,height=100%,status=no,top=' + window_top + ' left =' +
window_left + ' '); // 강의노트보이는 크기
}
//-->
</SCRIPT>
}
//-->
</SCRIPT>
.
.
.
.
.
.
.
<td width="14%" height="45" align="center" bgcolor="#eaeaea"><? if(($my_row[mb_grade] == 2 && $vod_right == 'Y') || ($my_row[mb_grade] == 3)) {?><img src="images/dot1.png" style="cursor:hand;" onClick="javascript:<?if($lec_kind == "C"){?>pop_player('../vod/app_player_tmp.php?play_id=<?=$sd_row[chp_idx];?>&od_idx=<?echo"$rec_mbprogress[od_idx]"?>&qty=6¬eyn=n')<?}else{?>pop_player_note('../vod/app_player_tmp.php?play_id=<?=$sd_row[chp_idx];?>&od_idx=<?echo"$rec_mbprogress[od_idx]"?>&qty=6¬eyn=y')<?}?>"><?}else{?><img src="images/dot1.png" style="cursor:hand;" alt="
강의보기" onClick="javascript:alert('유료회원이상 이용하실 수 있는 서비스입니다. 수강신청하신 후 이용해주세요.')"><?}?></a></td>
#############################################################
로 입력해도
잘 안되었습니다.
도와주세요 ㅠㅠㅠ
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 10256 |
JavaScript
실시간 금액 계산기 ver.2 (php에 적용 가능)
4
|
| 17572 | |
| 17567 | |
| 17796 | |
| 10255 | |
| 10254 |
Mobile
미래웹기술연구소 “HTML5 써야할 이유는…“
|
| 10253 | |
| 10252 |
Mobile
KT-한국MS, HTML5 웹앱 개발 활성화 맞손
|
| 10250 |
Mobile
KT, 앱개발 전문과정 ‘스마트스쿨’ 운영
1
|
| 17566 | |
| 10249 |
JavaScript
getHtmlInfo
|
| 17793 | |
| 17791 | |
| 10246 |
JavaScript
자바스크립트 코딩할때 실수하기 쉬운 한가지(배열)
2
|
| 17781 | |
| 17767 | |
| 17762 | |
| 17761 | |
| 17760 | |
| 17757 | |
| 17756 | |
| 17753 | |
| 10236 | |
| 17747 | |
| 10226 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기