Give each window a different name -- the second parameter in the
window.open() method.  Also, looks like you have some code that might not
execute -- don't use two onClick attributes and put the return false
statement at the end of the onClick event handler.

  For example:

CODE FROM PARENT:

<a href="#"
onClick="window.open('someurl','ChildWindow','yourwindowoptions');exit=false
">[...]</a>

CODE FROM CHILD:

<a href="#"
onClick="window.open('someotherurl','GrandChildWindow','yourwindowoptions');
self.close();return false;">[...]</a>

Greg

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 25, 2003 1:46 PM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] Need help getting a grandchild window to open in 4X
Netscape


I have several windows that open perfectly from parent windows using
window.open   However, when I use window.open from the child windows to
open a grandchild window I can't get it to work properly in Netscape 4X. 
What happens is the grandchild opens in the existing window insteading of
opening in a new one.  It works, however, in all later versions of Netscape
and IE.

Anyone know how to resolve this or why Netscape reacts that way?  (ps...
When I open the child window by typing in the URL (effectively making it a
parent) the grandchild window opens fine.)  I'm sure baffled.

CODE FROM PARENT:

<a href="#"
onClick="window.open('http://www.buildsuccessfast.com/giftoffer_click.html',
'','toolbar=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0,screenX=0,
screenY=0,height=465,width=378')" onclick="exit=false"><img
src="http://buildsuccessfast.com/graphics/bonusgiftclickhere.gif"; border=0
align=right valign=top hspace=28 vspace=4></a>


Now the child window is open.  CODE FROM CHILD:

<a href="#"
onClick="window.open('https://QuickPayPro.com/cgi-bin/index.cgi?adminid=2676
&pid=7925&quickbuy=1','','toolbar=no,menubar=no,scrollbars=1,resizable=no,le
ft=0,top=0,screenX=0,screenY=0,width=640');return
false;window.close();"><IMG
src="http://buildsuccessfast.com/graphics/orderonlinenow93x14.gif"; border=0
vspace=5></a>

See???  Nothing weird.  Please advise.


The information in this electronic mail message is sender's business
Confidential and may be legally privileged.  It is intended solely for the
addressee(s).  Access to this Internet electronic mail message by anyone
else is unauthorized.  If you are not the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it is prohibited and may be unlawful. 
The sender believes that this E-mail and any attachments were free of any
virus, worm, Trojan horse, and/or malicious code when sent. This message and
its attachments could have been infected during  transmission. By reading
the message and opening any attachments, the recipient accepts full
responsibility for taking protective and remedial action about viruses and
other defects. Galileo International is not liable for any loss or damage
arising in any way from this message or its attachments.



____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to