팝업창 width="100%" 전체적으로 나올수있도록 하는 방법을 좀 도와주세요ㅠㅠ 정보
JavaScript 팝업창 width="100%" 전체적으로 나올수있도록 하는 방법을 좀 도와주세요ㅠㅠ본문
안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 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>
#############################################################
로 입력해도
잘 안되었습니다.
도와주세요 ㅠㅠㅠ
추천
0
0
댓글 2개

팁 자료실에 질문은 아닌것 같습니다.
원하시는게 맞는지 모르겠지만, window.open의 속성쪽에 fullscreen=yes 이거 한번 넣어보시면...