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?

Improve company productivity with a Business Account.Sign Up

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
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.