Solved

reload/update more than one frame at a time

Posted on 2000-03-03
6
151 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now