0 Replies Latest reply on Apr 25, 2006 9:34 AM by sempriny

    Centering a pop up

    sempriny
      Me again,

      I have this bit of code which works nicely. But I would really like it if the html pop could launch in the centre of the viewers screen. At the moment it says location=No, and I was wandering if there was a command I could put in that would tell the pop up to launch in the centrally.

      getURL ("javascript:NewWindow=window.open('www.yoursite.com/yourpopup.php','newWin','width=400,h eight=300,left=0,top=0,
      toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus();
      void(0);");


      Thanks

      Sempriny