Google Answers Logo
View Question
 
Q: Loading a page to an iFrame from a link in a different iFrame with Javascript. ( No Answer,   0 Comments )
Question  
Subject: Loading a page to an iFrame from a link in a different iFrame with Javascript.
Category: Computers > Programming
Asked by: charro2000-ga
List Price: $50.00
Posted: 11 Jun 2005 19:04 PDT
Expires: 11 Jun 2005 20:00 PDT
Question ID: 532340
How could I load the content of a page into one iFrame depending on
what hyperlink I clicked on another iFrame?

I would like to use the example shown in the article "Build an
XML-based Tree Control with JavaScript"
(http://www.devx.com/getHelpOn/Article/11874) written by Tom Duffy.

Using the article as a reference, the last listing shows how both
iFrames are defined; one is for the tree and the other one for the
content of a specific branch.
My understanding is to modify the JavaScript file xmlTree.js so that
it includes a function that responds when a leaf is clicked and
dinamically loads the content into the iFrame.
I suspect changes to the XSLT file are needed also but I'm not sure
where to apply them.

Ideally I could attach an anchor tag to the leaf, including a url with
querystring values and that successfully loads files locally
or from a server.

It is important that the solution works at least for IE 5+ and Firefox 1.0+

Thanks in Advance.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy