[Javascript] popup window

Chris Tifer christ at saeweb.com
Tue Feb 3 08:15:13 CST 2004


MessageIt should. 

What I would do if I were you is put the focus on the onload of the body. My guess is you're calling focus before it's finished loading.

<body onload="window.focus()">

That should then come to the front.

Chris Tifer

  ----- Original Message ----- 
  From: Namasivayam, Sudhakar (Cognizant) 
  To: [JavaScript List] 
  Sent: Tuesday, February 03, 2004 9:06 AM
  Subject: RE: [Javascript] popup window


  hi,
    Thank you very much for the prompt replies.
  But  focus() makes the windowe active but i want the window to come to the front . 

  sudhakar
    -----Original Message-----
    From: Grinwald, Uri [mailto:UGrinwald at dynamic.ca]
    Sent: Tuesday, February 03, 2004 7:31 PM
    To: [JavaScript List]
    Subject: RE: [Javascript] popup window


    I always thought it was focus();
      -----Original Message-----
      From: Namasivayam, Sudhakar (Cognizant) [mailto:NSudhakar at chn.cognizant.com] 
      Sent: Tuesday, February 03, 2004 8:59 AM
      To: [JavaScript List]
      Subject: [Javascript] popup window


      Hi all, 
              How do i activate the already open popup window  in the background by javascript .... 
       i tried 

      var hd = window.open('test.html','legal', 'height=550,width=700,status=no,toolbar=no,menubar=no,location=no,top=10,left=10,scrollbars=yes'); 

      hd.activate(); 

      Thanks and regards, 
      sudhakar 



------------------------------------------------------------------------------


  _______________________________________________
  Javascript mailing list
  Javascript at LaTech.edu
  https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040203/8e9f613e/attachment.htm>


More information about the Javascript mailing list