Update Two Frames Simutanously 
You can update two frames simutanously by using the javascript below.
FrameName1 and FrameName2 are the names of the two frames.
<a href="javascript:Go('doc1.htm','doc2.htm')">
<script language=javascript type="text/javascript">
<!--
function Go(frame1,frame2)
{ parent.FrameName1.location=frame1;
parent.FrameName2.location=frame2;
}
// -->
</script>
Note that the javascript will make two history entries. The user will have to click the back button two time to get back to the referring page. Often one of the frames is a menu/navigator. To fix the problem, change the code for this frame to:
parent.FrameName?.location.replace(frame?);
But note that this is incompatible with Netscape 2.x.
|