Re: A simple Question

>    I have a very simple question (maybe???)
>    I want from a href tag to be able to send two docs to two different
frames.
>    Lets say a menu.html --> menu frame and a main.html --> main frame.
>    Is this possible, and how can I do this???

> You could probably do it with a script, but one of the reasons for XML
> adopting a more complex linking model was explicitly the opportunity
> for multi-ended links.

here's the script

<SCRIPT LANGUAGE="JavaScript">
<!--

function DoubleUpdate ( First , Second )
  {
  parent.frameone.location.href = First
  parent.frametwo.location.href = Second
  }

//-->
</SCRIPT>

you can call it like this <A
HREF="JavaScript:DoubleUpdate('firstlink','secondlink')"></A>

oh, by the way, there is a NASTY bug between explorer/navigator...
explorer takes relative links from the point of the frame you want to
update while navigator takes the frame from which you call the script...

if you need precisions, mail me...

GaRgL...

Received on Monday, 18 August 1997 14:03:21 UTC