launching two frame pages at the same time

In my web I've got a banner a content and a main frame. Depending of the choosen banner topic (Hyperlink) the content of the content frame changes. At the same time this contend change I would like to achieve, that the content of the main frame also changes depending of the choosen topic. How can I trigger two changes with one click on a banner Hyperlink button. Is there a special Frontpage form or command. Do I have to implement extra HTML code????
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

themrocAuthor Commented:
Adjusted points to 180
I don't know if frontpage has a special feature to do this, but you can achieve this by using javascript..
it would look something like this:

<script language="javascript">
function ChangeContent()
 top.MyContentFrame.location.href = MyNewContentURL;
 top.MyMainFrame.location.href = MyNewMainUrl;

<a href="javascript:" onclick="ChangeContent();"><img src="MyBanner.gif"></a>

In the script, the MyContentFrame and MyMainFrame need to be changed to the names they have in your frameset... You can have the required URL's generated dynamically based on which topic you use, but that would require more knowledge of how you've named your content and main pages..... If you need more help with that let me know....

If you don't want to use javascript like Arjan suggested you can use the hard way.

First you make two frames a topframe (your banner) and a bottomframe.

When you click on the banner you open a page with two frames (the content and the mainframe).  You will have to make a different frames page for every link in your banner.  

When you want to use a link in your mainframe that changes the content and the mainframe itself.  You have to use _parent (in Frontpage) as target.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
themrocAuthor Commented:
Arjan thanks for your comment, it is probably one possibility,
See also Question Q.10231269 in the HTML section.
I tried danny's simple approach and it works, so I will give the points to him
thanks for the efford
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.