Two Links at once, with inline frames?

by Cliff Rockson <rockson3(at)pacbell.net>

 Date:  Mon, 10 Apr 2000 18:08:20 -0700
 To:  "hwg-techniques(at)mail.hwg.or" <hwg-techniques(at)mail.hwg.org>
 References:  standard
  todo: View Thread, Original
Leland V. Lammert wrote:

> Subject: Two Links at once?
>
>
> I seem to remember this in the past, .. but cannot find it in the
archives.
> Is there a simple way to open two links at once (i.e. load two frames at
the
> same time into different targets)??
>
>           TIA,
>
>           Lee

Michael Gilligan responded:

> you could try this from inside the Frameset:
>
>
> <script language="JavaScript">
> function multiLoad(doc1,doc2) {
> parent.top.location.href=doc1;
> parent.bottom.location.href=doc2;
> }
> </script>
>
>
> and call it with this:
>
> <a href="javascript:multiLoad('Document1.html', 'Document2.html')">Click
> Here!</a>
>
> (Much thanks to Rebecca Campbell, who designed this)
>
> Thanks!
>
> m.
>
> michael gilligan

I'm using <IFRAMES> and need to do the same thing, allmost. I only need two
frames changed for each link. My links are in a external file called
catmenu.htm, contained in this table and frame:

<TD ALIGN=center VALIGN=top WIDTH="10%">
  <IFRAME FRAMEBORDER="0" BORDER="0" SCROLLING=no
MARGINWIDTH="0"   MARGINHEIGHT="0" SRC="catmenu.htm" NAME="frame4"
WIDTH="100% "  HEIGHT="100%">
  </IFRAME>
 </TD>

This is one of the frames I need changed:

 <TD ALIGN=center VALIGN=top>
  <IFRAME FRAMEBORDER="0" BORDER="0" SCROLLING=no MARGINWIDTH="0"
MARGINHEIGHT="0" SRC="menut1.htm" NAME="frame3" WIDTH="145" HEIGHT="105">
  </IFRAME>
 </TD>

This is the other:

 <TD>
  <IFRAME FRAMEBORDER="0" SRC="menu1.htm" NAME="frame1"   WIDTH="100"%
HEIGHT="300">
  </IFRAME>
 </TD>

Here is a link allready setup to target frame1:

<A href="menu1.htm" TARGET=frame1>Link1</A>

I could not figure out how use the Java code provided to target frame3 also,
so I gave up.

Thanks for your help.

Cliff Rockson
rockson3(at)pacbell.net

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA