[thelist] Does Window-Target work in IE?

Hershel Robinson hershelsr at yahoo.com
Thu Jan 17 06:57:42 CST 2002


I am trying to use Window-Target to direct my CGI output to a certain frame,
or to the whole browser window (and eliminate the frames) depending on the
output.

>From what I have read, this should work:
print <<"STOP";
Content-type: text/html

<html>
<header>
<META HTTP-EQUIV="Window-target" CONTENT="DataFrame">
</header>
<body>

as well as this:
print <<"STOP";
Window-Target: DataFrame
Content-type: text/html

<html>

I have tried each method (and both together even) and this line:
<META HTTP-EQUIV="Window-target" CONTENT="DataFrame">
seems not to work at all, neither NS 4.7 nor IE 5.5.  This line:
Window-Target: DataFrame
works very nicely in NS 4.7 but not in IE5.5.  This website is actually
targeted at IE5.5 and not at NS.  I tested just to see if I had the syntax
correct.

So my question is, how can I direct my output to the DataFrame or to
_parent?

Thanks,
Hershel Robinson

PS: If you want to confirm, this is the framed page:
<HTML>
<HEAD>
<TITLE>Results Main (Framed)</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="Text/HTML; CHARSET=ISO-8859-1">
</HEAD>

<FRAMESET ROWS="112,1*" FRAMEBORDER="no" BORDER="0" FRAMESPACING="0">
  <FRAME NAME="ButtonFrame" SCROLLING="no" NORESIZE SRC="TESTER.htm">
  <FRAME NAME="DataFrame" SRC="http://myserver.com/CGI-Bin/somescript.pl>
</FRAMESET>
<NOFRAMES>
<BODY>
This browser does not support frames.
</BODY>
</NOFRAMES>
</HTML>

In TESTER.htm, I have this:
<a href="http://myserver.com/CGI-Bin/TestScript.pl">Load in
TestScript.pl</a>




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





More information about the thelist mailing list