Re: Opening two windows from one link??
by "Hilma" <Hilma(at)hilma.freeserve.co.uk>
|
Date: |
Mon, 3 Jun 2002 07:48:04 +0100 |
To: |
"Beauford" <beauford.2002(at)rogers.com>, "Hwg-Basics" <hwg-basics(at)hwg.org> |
References: |
p1 |
|
todo: View
Thread,
Original
|
|
Using JS, i can;t see why it can't be done;
my call to open a new window is
----------------------------------------------------------------------------
----------------
html:
----------------------------------------------------------------------------
----------------
<a
href="javascript:openWindow('HHPhotoSingle.htm?Pic=VolBTCV/BTCV05,caption','
myNewWindow',800,600)">
</a>
----------------------------------------------------------------------------
----------------
js:
----------------------------------------------------------------------------
----------------
//Open a new window for an external window (and pass W3C strict!)
function NewWindow(Link)
{
var NewWin = window.open(Link,"","");
return false;
}
----------------------------------------------------------------------------
----------------
so i see no reason not to add a second line to the above, function, and a
second link param to the NewWindow fucntion.
hopefully, someone else can give you more detail if this is not enough (or
is incorrect!)
h.
----- Original Message -----
From: "Beauford" <beauford.2002(at)rogers.com>
To: "Hwg-Basics" <hwg-basics(at)hwg.org>
Sent: Monday, June 03, 2002 7:27 AM
Subject: Opening two windows from one link??
> I have two frames that need to be filled when clicking on one link. I
> don't think this can be done in standard HTML (correct me if I am
> wrong), so I probably need a java script of something. Anyone know of
> one - I tried to search for one, but it's hard when you don't know what
> to search on or what it would be called.
>
> Thanks, Beauford
>
>
>
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA