Is window Open : window : Javascript Objects JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Objects » window »

 

Is window Open



    
<html>
<body>
<script language="JavaScript">
function function1() {
    var m = window.createPopup();
    var n = m.document.body;
    n.style.border="solid 2px black";
    n.innerHTML = "<font face='verdana'>This is the pop-up window content</font>";
    m.show(35027020050, document.body);
    if (m.isOpen == true) {
        setTimeout("function2()"2000);
    

function function2() {
    alert("The pop-up window is Open");
}
</script>
<input type="button" value="Open pop-up window" onclick="function1();">
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Objects
» window