Posted By

jamesming on 09/06/08


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

SpinZ
jfherring


open new configurable window using javascript


 / Published in: JavaScript
 

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

  1. function launch() {
  2. window.opener = null;
  3. var w = window.open("myPageToLaunch.php",""+new Date().getTime(),
  4. "resizable=yes,scrollbars=yes,status=no,width=880,height=600");
  5. if(w){
  6. window.open('','_parent','');
  7. window.close();
  8. }
  9. }
  10. </script>
  11. <body onload="launch()">

Report this snippet  

You need to login to post a comment.