자식창의 함수 호출하는 심플 컨셉의 예제 ㅋㅋ
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); }