Contents

조회 수 7474 댓글 0
Atachment
첨부 '1'
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

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

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
번호 분류 제목 글쓴이 날짜 조회 수
541 Develop [php] URL/URI 관련 환경변수 hooni 2003.04.23 9218
540 Develop [c][java] 그래픽(graphic)관련 자료와 샘플코드.. file hooni 2013.04.23 9216
539 Develop [c] 하노이탑 - 재귀함수 hooni 2003.04.23 9174
538 Develop 다운 받아서 테스트 해볼것.. hooni 2013.04.23 9169
537 Develop [c++] mfc 윈도우에서 ODBC 사용하여 MDB파일 읽기.. ㅋㅋ file hooni 2013.04.23 9141
536 Develop [c] 디피-헬만 키교환(Diffie–Hellman key exchange) 샘플 코드.. ㅋㄷ file hooni 2013.04.23 9124
535 Develop [c] 간단한 채팅(클라이언트/서버) 프로그램 소스 file hooni 2003.04.23 9097
534 Develop [c] OpenGL 직사각형(2D) 크기 확대/축소 hooni 2003.04.23 9093
533 Develop [js] 객체 머지.. hooni 2013.12.17 8992
532 Develop [c][java] 주사선 채우기 알고리즘(scan line filling algorithm) 구현 file hooni 2013.04.23 8979
531 Develop [c++] 바탕화면 테두리에 자석처럼 붙는 스냅효과.. file hooni 2013.04.23 8927
530 Develop [js] 밀리터리 프로그램(전역일 계산) 7 file hooni 2013.04.23 8926
Board Pagination Prev 1 ... 21 22 23 24 25 26 27 28 29 30 ... 71 Next
/ 71