sad69
11-24-2004, 08:41 PM
So what you want to do is open the window first and give it a name. Then the TARGET param should be the name of the window you opened.
<script>
var ip_window = window.open('','ip_window','width=25,height=25');
</script>
<APPLET CODE="MyAddress.class" WIDTH=1 HEIGHT=1 >
<PARAM NAME="URL" VALUE="find.php?IP=">
<PARAM NAME="ACTION" VALUE="AUTO" >
<PARAM NAME="TARGET" VALUE="ip_window">
</APPLET>
There are other things you can set for this new window aside from the the height and width:
http://www.mozilla.org/docs/dom/domref/dom_window_ref76.html
Hope that helps,
Sadiq.
<script>
var ip_window = window.open('','ip_window','width=25,height=25');
</script>
<APPLET CODE="MyAddress.class" WIDTH=1 HEIGHT=1 >
<PARAM NAME="URL" VALUE="find.php?IP=">
<PARAM NAME="ACTION" VALUE="AUTO" >
<PARAM NAME="TARGET" VALUE="ip_window">
</APPLET>
There are other things you can set for this new window aside from the the height and width:
http://www.mozilla.org/docs/dom/domref/dom_window_ref76.html
Hope that helps,
Sadiq.
