Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: open a new window in on top of the original window in Netscape?


Message #1 by admin@n... on Wed, 25 Jul 2001 23:00:16
You mean NS6, right?   Try and change your target to" target="new".  Make
sure you use window.focus() in the new window.

-----Original Message-----
From: admin@n... [mailto:admin@n...]
Sent: Wednesday, July 25, 2001 7:00 PM
To: javascript
Subject: [javascript] open a new window in on top of the original window
in Netscape?


I am using the following code within a JavaScript to open a second window 
which sits on top of the original window, in other-words it doesn't 
replace the original window.  

<a href=../q2_ccna1.htm target=_blank><img src=reference_button.gif 
border=0></a>

This works fine in IE but Netscape 5.0 won't recognize the target=_blank 
part of the code and just opens a full window, replacing the original 
window.

How can I make this work in both IE and Netscape?


  Return to Index