8 Replies Latest reply on Jul 15, 2008 3:56 AM by Newsgroup_User

    navigation bar does not work properly in CS3

    quilterin Level 1
      The navigation bar shows only the up and the over pictures in all browsers. It works properly in a framed site, showing all 4 different pictures. But not in the css-layout based site with files from the same template, which show all in the same window. Does anyone know where this problem comes from?
        • 1. Re: navigation bar does not work properly in CS3
          Level 7
          Can you please post a link to a page that has this menu?

          Most likely you have used the antique DW feature "NavBar", which only works
          as stated in a frame environment. When used on flat pages (i.e.,
          non-framed), you do not get the over-while-down, or the clicked
          functionality.

          In fact, that very old feature does nothing for you on flat pages that you
          couldn't also do with simple image swaps. And if you are using CSS swaps,
          then it's a simple matter to get the over-while-down, and the clicked
          cosmetic appearance....

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "quilterin" <webforumsuser@macromedia.com> wrote in message
          news:g5g5pj$b24$1@forums.macromedia.com...
          > The navigation bar shows only the up and the over pictures in all
          > browsers. It
          > works properly in a framed site, showing all 4 different pictures. But not
          > in
          > the css-layout based site with files from the same template, which show
          > all in
          > the same window. Does anyone know where this problem comes from?
          >

          • 2. Re: navigation bar does not work properly in CS3
            Level 7
            To expand on what Murray told you, if you remove the navbar scripts and
            instead use simple rolllover behaviors, you can then use my free
            divaGPSfree to automatically highlight the current menu item:

            http://divahtml.com/products/divaGPS/current_menu_location.php

            --


            E. Michael Brandt

            www.divahtml.com
            www.divahtml.com/products/scripts_dreamweaver_extensions.php
            Standards-compliant scripts and Dreamweaver Extensions

            www.valleywebdesigns.com/vwd_Vdw.asp
            JustSo PictureWindow
            JustSo PhotoAlbum, et alia

            --
            • 3. Re: navigation bar does not work properly in CS3
              Level 7
              oh, menat to change that wording before the last message went out - if
              you use javacript image swap behaviors, then you'd have to use the paid
              version of divaGPS, but if you take Murray's hint and use CSS image
              swapping (by changing background images instead of "real" images) and
              avoid javscript for that behavior entirely, then you can use the free
              version. Sorry if I confused you with that last message.

              --


              E. Michael Brandt

              www.divahtml.com
              www.divahtml.com/products/scripts_dreamweaver_extensions.php
              Standards-compliant scripts and Dreamweaver Extensions

              www.valleywebdesigns.com/vwd_Vdw.asp
              JustSo PictureWindow
              JustSo PhotoAlbum, et alia

              --
              • 4. Re: navigation bar does not work properly in CS3
                quilterin Level 1
                Thank you very much! Yes it is this Nav-bar I used. I just wonder why that's not mentioned anywhere in the manuals. I could have saved a whole day. But I don't know how to change or highlight just the background without javascript. The normal rollover is no problem - but how to do it with CSS I don't know.
                • 5. Re: navigation bar does not work properly in CS3
                  Level 7
                  Ahh, well then feast on this:

                  http://css.maxdesign.com.au/listamatic/

                  --


                  E. Michael Brandt

                  www.divahtml.com
                  www.divahtml.com/products/scripts_dreamweaver_extensions.php
                  Standards-compliant scripts and Dreamweaver Extensions

                  www.valleywebdesigns.com/vwd_Vdw.asp
                  JustSo PictureWindow
                  JustSo PhotoAlbum, et alia

                  --
                  • 6. Re: navigation bar does not work properly in CS3
                    Level 7
                    That's where a little HTML/javascript knowledge comes in handy. You think
                    "Hmmm - I wonder how they are doing the 'over while down' thing" and you
                    look at the code. What you will discover is that it CANNOT be done if the
                    page refreshes (by loading a new page). That's the crux of the matter. The
                    function was designed to work with frames where a navigation frame DOES NOT
                    REFRESH. I have asked every release since DMX that this function be
                    removed. Maybe DW12 will take it out.... 8)

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    ==================


                    "quilterin" <webforumsuser@macromedia.com> wrote in message
                    news:g5gc0o$hkf$1@forums.macromedia.com...
                    > Thank you very much! Yes it is this Nav-bar I used. I just wonder why
                    > that's
                    > not mentioned anywhere in the manuals. I could have saved a whole day. But
                    > I
                    > don't know how to change or highlight just the background without
                    > javascript.
                    > The normal rollover is no problem - but how to do it with CSS I don't
                    > know.
                    >

                    • 7. Re: navigation bar does not work properly in CS3
                      quilterin Level 1
                      Thanks again! I will look at the code. So if I understand right, it doesn't matter if I use javascript or CSS rollovers, only up and over will work with refreshed pages. The paid diva comes in to do the job down and over by down in both cases.
                      Why not use frames again? Is it just out of fashion? Or are there substantial reasons against it? Lots of the CS3 manual obviously refers to those "oldfashened" stuff.
                      • 8. Re: navigation bar does not work properly in CS3
                        Level 7
                        > Why not use frames again?

                        This question is answered in detail several times a day here, but here's the
                        executive summary -

                        1. They are difficult for inexperienced users to get right -
                        a) pages will not align properly if one of them throws scrollbars
                        b) links will not work when targeted into different frames without
                        hand-modification of code
                        c) new (and inexperienced users) have problems with the idea of a single
                        frameset page that only specifies constituent frames
                        d) new (and inexperienced users) can be confused by the fact that the
                        <title> tag on the frameset page is the one that appears in the browser
                        e) etc., etc., etc.
                        2. They are difficult for your visitors
                        a) depending on how savvy you are, you may have removed scrollbars to
                        'fix' #1b, not thinking that you have also removed those scrollbars for
                        people with smaller viewports
                        b) search engines will index *all* pages within your frameset, meaning
                        that a navigation frame or a content only page MAY be shown in a search hit
                        list - imagine the confusion when the page is loaded without navigation, for
                        example

                        And - they are so amateur. Really.

                        > it doesn't
                        > matter if I use javascript or CSS rollovers, only up and over will work
                        > with
                        > refreshed pages.

                        With js rollovers it's only *easy* to achieve the up and the over states.

                        With CSS rollovers, you can achieve up, over, over while down, and down.

                        > Lots of the CS3 manual obviously refers to those
                        > "oldfashened" stuff.

                        Much of this has been removed in CS4.

                        > The paid diva comes in to do the job down and over by down in
                        > both cases.

                        The DivaHTML extension is a good deal. It is just a CSS rollover with an
                        'easy' user interface.

                        --
                        Murray --- ICQ 71997575
                        Adobe Community Expert
                        (If you *MUST* email me, don't LAUGH when you do so!)
                        ==================
                        http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                        http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                        ==================


                        "quilterin" <webforumsuser@macromedia.com> wrote in message
                        news:g5hkur$sfu$1@forums.macromedia.com...
                        > Thanks again! I will look at the code. So if I understand right, it
                        > doesn't
                        > matter if I use javascript or CSS rollovers, only up and over will work
                        > with
                        > refreshed pages. The paid diva comes in to do the job down and over by
                        > down in
                        > both cases.
                        > Why not use frames again? Is it just out of fashion? Or are there
                        > substantial
                        > reasons against it? Lots of the CS3 manual obviously refers to those
                        > "oldfashened" stuff.
                        >