Solved

reload/update more than one frame at a time

Posted on 2000-03-03
6
150 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
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 …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

757 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