Return to Snippet

Revision: 8191
at September 6, 2008 09:30 by jamesming


Initial Code
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()">

Initial URL
http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_23293464.html

Initial Description


Initial Title
open new configurable window using javascript

Initial Tags


Initial Language
JavaScript