티스토리 뷰


최상위 부모창
map3DWin = window.open("/body/B/main.jsp","map3DWin","titlebar=no,toolbar=no,directories=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=" + sizeX + ",height=" + sizeY + ",left=0,top=0");

실제 작업창->
최상위창을 없애버리고 그 위치를 차지
 try {
  if(typeof(opener)!="undefined" && !opener.closed){
         window.opener.top.opener = window;
         window.opener.top.open("","_parent","");
         window.opener.top.close();
     }
 } catch(e) {}

새 창을 띄우지만, 실제작업창과 같이 죽는다.
window.open("/body/gishelp/task.html","helpWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=536,height=374");


etc() 부모창에 종속적인 창 띄우기
//map3DWin = window.showModelessDialog("/body/B/main.jsp","map3DWin",'dialogwidth:'+sizeX+';dialogheight:'+sizeY+';status:0;help:0;center:1;resizable:0');
    //window.showModalDialog("/body/B/main.jsp","map3DWin",'dialogwidth:'+sizeX+';dialogheight:'+sizeY+';status:0;help:0;center:1;resizable:0');
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함