[Javascript] JavaScript pop up windows

Peter Brunone peter at brunone.com
Thu Jun 14 15:01:04 CDT 2001


    In the child window, add onLoad="self.focus()" to the BODY tag.

----- Original Message -----
From: "Weber, Michael" <MWeber at leasedirect.com>
To: <javascript at LaTech.edu>
Sent: Thursday, June 14, 2001 2:51 PM
Subject: [Javascript] JavaScript pop up windows


> Hello All,
>
> I have a page (the parent) within a frame page, which contains about 8
> hyperlinks to 2 different types of pop up windows.
>
> The child windows pop-up fine with the script listed below.
>
> However .. If a user chooses another choice in the parent pages, the new
> page is loaded into the child window, BUT the child window does NOT  pop
> back up on to the desk top.  It says on the tool bar.
>
> How do I correct this?
>
> Is this a focus thing?
>
> Thanks!
>
>
> Mike Weber
>
>
> <script>
> <!-- hide it
>
> function open_window(url) {
> email =
>
window.open(url,"eMail",'toolbar=0,location=0,directories=0,status=0,menubar
> =0,scrollbars=0,resizable=0,width=450,height=400,
> left=10,top=100,screenX=10,screenY=100');
> }
>
> function open_window2(url) {
> email =
>
window.open(url,"eMail",'toolbar=0,location=0,directories=0,status=0,menubar
> =0,scrollbars=0,resizable=0,width=450,height=200,
> left=10,top=100,screenX=10,screenY=100');
> }
>
>
> // -->
> </script>
>
>
>
>
>
> Michael Weber
> Web Designer
> Marketing Department
> De Lage Landen
> (610) 386-5000 ext 3362
> MWeber at leasedirect.com < mailto:MWeber at leasedirect.com
> <mailto:MWeber at leasedirect.com> >
>
> * * * * * * * * *
>
>
>
>
>
>
> **********************************************************************
> The information transmitted via this e-mail is intended only for the
> person or entity to which it is addressed and may contain confidential
> and/or privileged material.  Any review, retransmission, dissemination
> or other use of, or taking of any action in reliance upon this
> information by persons or entities other than the intended recipient is
> prohibited. If you received this in error, please contact the sender
> and delete the material from any computer.
> **********************************************************************
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>





More information about the Javascript mailing list