PDA

View Full Version : Forcing New Window (or Forcing Same Window)


bgalb
11-03-2002, 05:50 PM
I have a web page that runs a java applet and a link within that applet leads to a new page with another java applet.

The second page opens as a new window in IE and some NS versions and opens in the same window in other NS versions.

How can I force it to open the same way in all browser versions?

degsy
11-03-2002, 06:34 PM
If the java applet code is pre-written and cannot be edited then you may have problems ;)

Can you post the code you are using?

bgalb
11-03-2002, 08:13 PM
The applet is pre-compiled shareware and I don't have the source. Here is the code for the page in question:

<HTML>
<HEAD>
<TITLE>Gen Viewer Applet</TITLE>
</HEAD>
<BODY BGCOLOR=white background=genview/rptknot2.gif link="#990000" vlink="#996600" alink="#FF0000">
<center>
<img src="genview/CGDatabase.gif" width="600" height="75"><br>

<p><b><font face="Verdana, Arial, Helvetica, sans-serif" size="4" color="#336633"><a href="genview/genintro.htm">View
Instructions</a> </font></b> </p>
<table border=1><tr>
<td><APPLET CODE="GenApplet.class"
startWithID=I019
WIDTH=720
HEIGHT=420
ALIGN=CENTER
ARCHIVE=genview\genview.jar>
<PARAM NAME="gedcom" VALUE="zip\Galbraith_Buren_G.zip">
<PARAM NAME="trace" VALUE="no">
<h3><i>Sorry, you need Java!</i></h3>
</APPLET></td>
</tr></table>
<p><b><font face="Verdana, Arial, Helvetica, sans-serif" size="4" color="#336633"><a href="zip/Galbraith_Buren_G.zip">Download
This GEDCOM File</a></font></b></p>
</center>
</BODY>
</HTML>

BG