Contents

Views 7472 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 [js] JSON 컨트롤.. 재귀호출로 값 출력하기 hooni 2013.04.23 28670
692 Develop [js] jQuery, Javascript 모바일(스마트폰) 판단하는 방법 hooni 2015.04.26 2561
691 Develop [js] jQuery 코드 작성시 편리한 HTML 템플릿 hooni 2013.12.17 33114
690 Develop [js] jQuery 치트 시트 hooni 2013.12.18 36299
689 Develop [js] jQuery 충돌 회피 hooni 2013.12.17 38370
688 Develop [js] jQuery 셀랙터(selector) 요약 hooni 2013.12.17 9439
687 Develop [js] jQuery 셀 병합 1 file hooni 2014.09.23 3555
686 Develop [js] jQuery 관련 사이트 링크 모음 hooni 2013.04.23 18273
685 Develop [js] jQuery 관련 문서 ㅎㅎ file hooni 2013.04.23 31255
684 Develop [js] jQuery plugin 요약 hooni 2013.12.20 10748
683 Develop [js] jQuery 배열 루프(each) hooni 2013.12.17 10019
682 Develop [js] jQjuery $ 활용 hooni 2013.12.17 8903
Board Pagination Prev 1 ... 36 37 38 39 40 41 42 43 44 45 ... 98 Next
/ 98