Jump to content

Web page opens in new window


sandy1028

Recommended Posts

Hi,

 

From the test.php file parameter is passed to file.php as the target=_blank.

 

But when the file.php opens I get the message as The web page is trying to close

     echo "<script language ='Javascript'>";
      echo " window.resizeTo(screen.width,screen.height);";
     echo "</script>";
        echo "</head>";
    echo "<body onload=\"window.close();\" leftMargin=0 topMargin=0>";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.