Give page D's body tag an onLoad behavior to swap the A image in the NavBar
back to the Up state, and the D image to the Down state. Repeat the same
concept on the other interior linked pages.
Then reconsider your use of frames, and throw the whole thing out the
window -
The reason for using or not using frames should be based on a) your site's
needs, and b) your willingness to accept the potential problems that frames
can create for you as developer and maintainer of the site and for your
visitors as casual users of the site.
I am down on frames because I believe that they create many more problems
than they solve.
Judging from the posts here, and the kinds of problems that are described,
the kind of person most likely to elect to use frames is also the kind of
person most likely ill-prepared fo solve the ensuing problems when they
arise. If you feel a) that you understand the problems and b) that you are
prepared to handle them when they occur, and c) that you have a need to use
frames, then by all means use them.
As far as I know, the most comprehensive discussions of frames and their
potential problems can be found on these two links -
http://apptools.com/rants/framesevil.php
http://www.tjkdesign.com/resources/frames/
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"emeren" <webforumsuser@macromedia.com> wrote in message
news:cjejrm$kou$1@forums.macromedia.com...
> Please help! I have tried everything and just can't figure this out. I
> have a
> nav bar in the left frame, controlling content in the main frame. Clicking
> a
> navbar link activates its "down" state and reverts all the other buttons
> to
> their "up" state (obviously!). Problem is, in the content for one of the
> pages,
> I have links to other pages that the navbar also links to... in other
> words,
> the navbar links to pages A, B, C and D, but on page A there's a link that
> says
> "Please see section D". So, if I create a link from page A that loads page
> D
> into the main frame, the navbar still shows page A as being active. I
> want the
> navbar to change to show D's down state and A's up state.
>
> Is there a way to tell the browser that a certain navbar button has been
> "activated" and another button has been "deactivated"? I can't just do a
> simple
> "swap image" to fix the problem because the moment your mouse goes over
> the
> button, it reverts back to the way it was. It still "thinks" it's on page
> A.
>
> I'd be so grateful for any help! Thanks.
>
|