Contents

Views 9094 Comment 0
Atachment
Attachment '1'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

자식창의 함수 호출하는 심플 컨셉의 예제 ㅋㅋ

var win = null;
function view(id){
    if(win){
        win.close();
        win = null;
    }

    xwidth = 420;
    yheight = 320;

    x = screen.availWidth;
    y = screen.availHeight;
    win = window.open("view.htm","_view",
            "left="+(x-xwidth)/2+",top="+(y-yheight)/2+",
            scrollbars=no,resizable=no,width="+xwidth+",height="+yheight);

    i = document.getElementById(id);
    o = i.firstChild.innerHTML;
    n = i.firstChild.nextSibling.innerHTML;
    m = i.firstChild.nextSibling.nextSibling.innerHTML;
    win.gogogo(o, n, m);
}



?

List of Articles
No. Category Subject Author Date Views
207 Develop [c] 다중연결 서버 만들기 #3 - poll() 사용 file hooni 2013.04.23 7457
206 Develop [doc] C언어 문법 설명서 file hooni 2013.04.23 7436
205 Develop [js] 사진첩에 쓸 내용 - 마우스 오버로 바꾸기 hooni 2013.04.23 7434
204 Develop [js] 실행되는 디렉토리 확인하는 스크립트.. hooni 2013.04.23 7433
203 Develop [android] Calling activity function from separate class hooni 2016.11.15 7410
202 Develop [PHP] MacOS에서 PHP 7 설치하기 file hooni 2018.05.11 7386
201 Develop [doc] C++언어 문법 설명서 file hooni 2013.04.23 7309
200 Develop [js] 서서히 나타나는 화면.. ㅋㅋ hooni 2013.04.23 7181
199 Develop [ios] 동영상 플레이어 샘플 (for Local File) file hooni 2017.02.07 7120
198 Develop [ios] Facebook Cache 갱신하는 함수 file hooni 2017.02.27 7037
197 Develop [js] 자바스크립트 escape()를 PHP로 받기 hooni 2013.04.23 6892
196 Develop [ios] Objective-C 프로퍼티의 strong, weak, assign file hooni 2014.03.17 6367
Board Pagination Prev 1 ... 49 50 51 52 53 54 55 56 57 58 ... 71 Next
/ 71