how to make 2 frames change at the same time??

Posted on 2003-03-15
Medium Priority
Last Modified: 2010-04-09
How can i make 1 link change 2 seperate files in 2 seperate frames at the same time, linking from a seperate frame?? thanks
Question by:rickuk
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
LVL 29

Expert Comment

ID: 8143419
LVL 12

Expert Comment

ID: 8143577
Let's say your frames are name A,B,C. Your link is on A:

<a href="pageB.htm" target="B" onClick="window.parent.C.location.href='pageC.htm';">

It uses some javascript but works fine.
LVL 33

Accepted Solution

knightEknight earned 300 total points
ID: 8143666
from a third frame, do this:

<A href="Click Me"
   onclick='top.frames["nameOfFrameA"].location="http://somesite.com/somepage1.htm";'top.frames["nameOfFrameB"].location="http://somesite.com/somepage2.htm";return false;">Click</a>

Don't forget to return false from the onclick.
LVL 53

Expert Comment

ID: 8820549
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

Unless it is clear to me that the question has been answered I will recommend delete.  It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

If the user does not know how to close the question, the options are here:


LVL 53

Expert Comment

ID: 9012828
You guys made this one tough on me; knightEknight is more technically correct, and the code has wider cross-browser support so:

It is time to clean this abandoned question up.

I am putting it on a clean up list for CS.

points to knightEknight


If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.



Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

762 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