Nested Hierarchy Frame Problem

D

Derek

Ok I have a question. My page is at http://www.derekjrose.com I have used FrontPage lightly for a few years, so I have basic understanding of Target Frames, and am trying to get something off the ground. If you click on Home, My Auctions, Resume and contact info they all appear in the right frame that I want them to. My beef is with the instructions link. I want to click on instructions, have the next set of links appear on the top, which they do, and then have the links you click on from the top, appear on the bottom, which I haven't setup yet, but can. Anyways, my question is this, once I click on something else, it will change the bottom frame, is there a way that when I click on someting, say Resume, it can load in the bottom right, main bigger page, and at the same time erase the top frame? I hope this makes sense....any help would be appreciated.
 
J

Jim Buyens

So, your question is, "How can I update two frames from a
single mouse click?"

This requires coding a bit of javascript, as shown below,
except all on one line.

<a href="javascript:
parent.frames.main.location='introanimal.htm';
parent.frames.menu.location='menuanimal.htm'">

In this example, "main" and "menu" are the frame names
and introanimal.htm and menuanimal.htm are the page urls.

You can find an example of this at:
http://www.interlacken.com/fp11iso/ch15/scripting/pets.htm

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

-----Original Message-----
Ok I have a question. My page is at
http://www.derekjrose.com I have used FrontPage lightly
for a few years, so I have basic understanding of Target
Frames, and am trying to get something off the ground.
If you click on Home, My Auctions, Resume and contact
info they all appear in the right frame that I want them
to. My beef is with the instructions link. I want to
click on instructions, have the next set of links appear
on the top, which they do, and then have the links you
click on from the top, appear on the bottom, which I
haven't setup yet, but can. Anyways, my question is
this, once I click on something else, it will change the
bottom frame, is there a way that when I click on
someting, say Resume, it can load in the bottom right,
main bigger page, and at the same time erase the top
frame? I hope this makes sense....any help would be
appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top