|
 |
asp_web_howto thread: switching between browser windows.
Message #1 by Lauralyn.Ninow@c... on Thu, 15 Feb 2001 13:46:41 -0600
|
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C09788.04A1E880
Content-Type: text/plain;
charset="iso-8859-1"
page1.asp has:
<BASE TARGET="window1">
and using JScript, moves to a new window2:
window.location.href = "page2.asp"
In page2.asp I want to open a new page in the first window and close the
second:
<a href="page3.asp" TARGET="window1"></a>
I have 2 problems:
1) It ignores the TARGET tag, thus opening a third window
2) I want to close the second window. - how do I do that?
Thank you for all your help in the past!
LN
Message #2 by "Ken Schaefer" <ken@a...> on Fri, 16 Feb 2001 12:34:41 +1100
|
|
http://p2p.wrox.com/list.asp?list=javascript
(and please turn off the HTML mail...look at the mess below...you try to
work out what it says...)
Cheers
Ken
----- Original Message -----
From: <Lauralyn.Ninow@c...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Friday, February 16, 2001 5:26 PM
Subject: [asp_web_howto] switching between browser windows.
> ------_=_NextPart_001_01C09788.04A1E880
> Content-Type: text/html;
> charset="iso-8859-1"
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
> <TITLE>switching between browser windows.</TITLE>
> </HEAD>
> <BODY>
>
> <P><FONT SIZE=2>page1.asp has:</FONT>
> <BR><FONT SIZE=2><BASE TARGET="window1"></FONT>
> </P>
>
> <P><FONT SIZE=2>and using JScript, moves to a new window2:</FONT>
> <BR><FONT SIZE=2>window.location.href = "page2.asp"</FONT>
> </P>
> <BR>
>
> <P><FONT SIZE=2>In page2.asp I want to open a new page in the first window
and close the second:</FONT>
> <BR><FONT SIZE=2><a href="page3.asp"
TARGET="window1"></a> </FONT>
> </P>
>
> <P><FONT SIZE=2>I have 2 problems:</FONT>
> <BR><FONT SIZE=2>1) It ignores the TARGET tag, thus opening a third
window</FONT>
> <BR><FONT SIZE=2>2) I want to close the second window. - how do I do
that?</FONT>
> </P>
>
> <P><FONT SIZE=2>Thank you for all your help in the past!</FONT>
> <BR><FONT SIZE=2>LN</FONT>
> </P>
>
|
|
 |