Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Nav bar help--changing states indirectly?
 

emeren




quote this post edit post

IP Loged report this post

Old Post  09-30-04 - 12:15 AM  
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 pag
es,
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 s
ays
"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 sim
ple
"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.



Post Follow-Up to this message ]
Re: Nav bar help--changing states indirectly?
 

Murray *TMM*




quote this post edit post

IP Loged report this post

Old Post  09-30-04 - 12:15 AM  
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.
>




Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 05:48 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top