8 Replies Latest reply on Mar 8, 2013 5:48 PM by V Rickert

    Pop Up Windows and Centering them

    V Rickert
      How do I get pop-up windows to work properly? When I open a pop-up, it takes up the entire screen and is left-corner justified. I specify the correct attributes for the window, I thought, in the following javascript that I put in the header section of the page. Is this not correct? I call the OpenPopUp function in the button that opens this window and put this same Javascript function in its calling page's header section also. I would like the window to function like normal pop-ups with the calling window showing in the background and the pop-up window 'hovering' over it.

      <script type-"text/javascript" language="javascript">
      function OpenPopup(){
      var url;
      url = 'f?p=&APP_ID.:14:&APP_SESSION.'
      w = open(url,"FPC Pop Up","width=480,height=480,scrollbars=yes,status=yes,resizable=yes,left=200,top=200");
      if (w.opener == null)
      w.opener = self;