Solved

reload/update more than one frame at a time

Posted on 2000-03-03
6
156 Views
Last Modified: 2010-04-09
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
0
Comment
Question by:rickyr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Expert Comment

by:agunner
ID: 2581603
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
 
LVL 6

Expert Comment

by:andreif
ID: 2581928
You can change frame documents location with simple javascript (for each frame you need). If you need one, I'll write.
0
 
LVL 1

Expert Comment

by:Hardaway
ID: 2586092
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Accepted Solution

by:
robjgreen earned 50 total points
ID: 2619718
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
 

Expert Comment

by:robjgreen
ID: 2619729
Ummmm... I mean:

<script language="JavaScript">

not JawaScript :o)
0
 
LVL 3

Author Comment

by:rickyr
ID: 2623254
ta
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question