reload/update more than one frame at a time

Hi.......
I have 3 frames. In frame one I have a link, when I click this link, I want to pass a query string to a script, so the href is already doing something.
I want the other two frames to be updated with the elements from the same query string.
regards
LVL 3
rickyrAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
robjgreenConnect With a Mentor Commented:
Hi rickyr...

Its basically just a bit of JavaScript... try the following:

<script language="JawaScript">
<!--

function Go() {
  parent.frame1name.location.href="url";
  parent.frame2name.location.href="url";
}

// -->
</script>

<a href="JavaScript:Go()">Test Me!</a>
0
 
agunnerCommented:
Hey rickyr..

Not sure if this is what your looking for, but this will force the browser to load all of the frames.

<head>
<SCRIPT LANGUAGE="javascript">
<!--Begin
if(window == top)top.location.href ="pagetoload.htm";
//End-->
</SCRIPT>
</head>


Hope it works,

AL
0
 
andreifCommented:
You can change frame documents location with simple javascript (for each frame you need). If you need one, I'll write.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
HardawayCommented:
Please check out your answer at http://www.webreference.com/js/column36/index.html.

I do think that it can perform what you wanted.
0
 
robjgreenCommented:
Ummmm... I mean:

<script language="JavaScript">

not JawaScript :o)
0
 
rickyrAuthor Commented:
ta
0
All Courses

From novice to tech pro — start learning today.