Advertisement

01.20.2005 at 08:54AM PST, ID: 21282066
[x]
Attachment Details

Change contents of four frames with one hyperlink

Asked by prettykittyq in JavaScript

Tags: javascript, change, frames, hyperlink, content

I know frames are out of vogue but this is a situation in which they are actually kind of helpful.

I'm designing a site which is intended to serve as a multidimensional reference work for users.

The site will have five frames:  one across the top, three across the center, and one across the bottom.

The centermost frame will have something that looks like a flow chart that shows how information flows through a particular industry.   A talks to B, B talks to C and D, C talks to E, D talks to F and G, etc.

The agency I work for regulates both the actors (A, B, C, etc) and the information exchanges (represented as arrows linking A to B, B to C, etc.)

My idea is to make each arrow and each actor a hyperlink.  When the user clicks the link, he/she will get a bunch of information on the actor or transaction he selected.  The information will all be displayed in the four remaining frames.

Thus, if you click the box on the flowchart labeled "Kitty":

The top frame will tell you how many Kittys there are in the industry, what is their aggregate value, what is percentage of the gross Kitty product is produced by the top 10 Kittys, etc.

The left frame will tell you who Kitty buys from; the right frame will tell you who Kitty sells to.

The bottom frame will tell you what laws and regulations (and agencies) apply to Kitty's business.

So, one click of the Kitty hyperlink will change the information in four frames.

I assume I'll need to use javascript to create an OnClick event that tells the browser to load all the requested pages into the right frames.

Can I do that?  How would I do that?  

I'm not at all experienced in writing JavaScript so you'll need to be pretty explicit in your response.  It's okay to refer to the frames as "top", "bottom", "left" and "right."

Thanks in advance for the help.

Kitty

Start Free Trial
[+][-]01.20.2005 at 09:43AM PST, ID: 13095322

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.20.2005 at 11:23AM PST, ID: 13096439

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.20.2005 at 11:29AM PST, ID: 13096512

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: JavaScript
Tags: javascript, change, frames, hyperlink, content
Sign Up Now!
Solution Provided By: BaldProgrammer
Participating Experts: 1
Solution Grade: A
 
 
[+][-]01.20.2005 at 07:03PM PST, ID: 13099842

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32