안녕하세요
자바스크립트에 대해 질문이 있습니다...
이미지를 클릭하면 팝업창을 나오는 자바스크립트를 할줄 알고 있지만..
팝업창나오는 사이즈로 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개
게시글 목록
| 번호 | 제목 |
|---|---|
| 10624 |
jQuery
Easing Functions Cheat Sheet
|
| 10618 | |
| 10614 | |
| 10607 |
jQuery
좌우 슬라이드메뉴와 상하 슬라이드 메뉴
6
|
| 10606 | |
| 10603 | |
| 10599 | |
| 20077 | |
| 10598 | |
| 10597 | |
| 10595 | |
| 10593 | |
| 10591 |
Mobile
모바일 웹 개발에 큰 도움이 되는 피모 브라우저
1
|
| 10590 |
PHP
간단한 쿠폰번호 생성
|
| 10588 |
PHP
xml 파싱 예제
1
|
| 10586 |
PHP
eval
1
|
| 17645 |
제안서
제안서 유용한 도형
13
|
| 10585 |
jQuery
롤오버+슬라이드 질문드립니다.
|
| 10584 |
jQuery
jQuery path plugin
|
| 10580 |
JavaScript
아이폰일때 상단 검색바 숨기기
3
|
| 20070 | |
| 10579 | |
| 10578 | |
| 10574 | |
| 10573 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기