enuk

PopUp New Window


    function editPage(){
        const windowFeatures = "left=150,top=150,width=960,height=600";
        const handle = window.open("http://www.example.com/example.html", "editorWindow", windowFeatures);
            if (!handle) {
                // The window wasn't allowed to open
                // This is likely caused by built-in popup blockers.
    
               // …
            }
    }