Contents

Views 7481 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
693 Develop [ios] Facebook SDK 로그인 설명 file hooni 2017.04.19 1345
692 Develop [ios] FlckrFeed Example App (Swift) file hooni 2016.11.27 1204
691 Develop [ios] GCD 변수 사용 예제 hooni 2013.10.01 12151
690 Develop [ios] GMT Date와 Local Date 변환하기 hooni 2015.04.07 917
689 Develop [ios] GPS 이용 상태 확인 hooni 2015.04.27 1416
688 Develop [ios] How to set up clang formatter hooni 2015.09.17 1473
687 Develop [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Objective-C) file hooni 2016.03.23 1763
686 Develop [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Swift) file hooni 2016.03.23 7682
685 Develop [ios] Hybrid 앱 스터디 발표 자료 file hooni 2013.09.06 13812
684 Develop [ios] IB 없이 개발하기 (html) secret hooni 2013.05.31 0
683 Develop [ios] iCloud관련 저장 디렉토리 hooni 2013.04.23 29676
682 Develop [ios] In App Purchase 개발 hooni 2013.11.20 9299
Board Pagination Prev 1 ... 36 37 38 39 40 41 42 43 44 45 ... 98 Next
/ 98