openWindow
                                            
 1938 단어  window
                    
/********************************************************************************
 **
 *  
 */
function openWindow(i_URL, i_Width, i_Height) {
    openWindow(i_URL, i_Width, i_Height, null, null);
}
function openWindow(i_URL, i_Width, i_Height, i_Feature) {
    openWindow(i_URL, i_Width, i_Height, null, i_Feature);
}
function openWindow(i_URL, i_Width, i_Height, i_WindowName, i_Feature)
{
    var v_URL = i_URL;
    var v_Width = i_Width;
    var v_Height = i_Height;
    var v_WindowName = i_WindowName;
    var v_Top;
    var v_Left;
    var v_Feature = "";
    if (v_WindowName == null) {
        v_WindowName = "myWindow";
    }
    var objWindow
    if (!objWindow || objWindow.closed)
    {
        v_Top = screen.availHeight / 2 - v_Height / 2 - 30;
        v_Left = screen.availWidth / 2 - v_Width / 2;
        v_Feature += "top=" + v_Top + ",";
        v_Feature += "left=" + v_Left + ",";
        v_Feature += "width=" + v_Width + ",";
        v_Feature += "height=" + v_Height + ",";
        if (i_Feature == null) {
            v_Feature += "directories=no,fullscreen=no,resizable=no,scrollbars=yes,status=1";
        } else {
            v_Feature += i_Feature;
        }
        objWindow = window.open(v_URL, v_WindowName, v_Feature);
        //objWindow=window.open (v_URL,v_WindowName,"directories=no,fullscreen=no,resizable=no,scrollbars=no,status=1");
        //v_Top=screen.availHeight/2-v_Height/2;
        //v_Left=screen.availWidth/2-v_Width/2;
        //objWindow.moveTo(v_Left,v_Top);
        //objWindow.resizeTo(v_Width,v_Height);
        objWindow.outerWidth = screen.availWidth;
        objWindow.outerHeight = screen.availHeight - 25;
    } else {
        objWindow.focus();
    }
    objWindow.focus();
}
// 
openWindow(url,screen.width,screen.height);
                이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
tree in git-Bash : Window내 워크스페이스의 폴더 구조를 확인하고 싶었는데, 윈도우에서 해 본적이 없다는 것을 알게되었다. git-bash에는 기본적으로 설치되어 있는 것은 없고 별도로 설치해줘야 했다. gnuwin32에 있는 파일(zip)을...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.