/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function launch() { window.opener = null; var w = window.open("myPageToLaunch.php",""+new Date().getTime(), "resizable=yes,scrollbars=yes,status=no,width=880,height=600"); if(w){ window.open('','_parent',''); window.close(); } } </script> <body onload="launch()">
URL: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_23293464.html
Comments
