8 Replies Latest reply on Sep 17, 2008 4:04 AM by Newsgroup_User

    show - hide behavior

    niksveler
      Hey, I m trying to use show - hide behavior , but it's not working in IE7 ?? Anybody help please !
      In details - I use it for onmousover <li> supposed to show img in <ApDiv> , works in Firefox just a perfect, but in IE7 - nothing !
        • 1. Re: show - hide behavior
          Level 7
          Can you perhaps squeeze out a little more information, and maybe even point
          us at a page on the web?

          --
          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
          ==================


          "niksveler" <webforumsuser@macromedia.com> wrote in message
          news:gap6qh$hc4$1@forums.macromedia.com...
          > Hey, I m trying to use show - hide behavior , but it's not working in IE7
          > ?? Anybody help please !

          • 2. Re: show - hide behavior
            niksveler Level 1
            Hi ! Thanks for your responding !
            Here is the link - http://calmodern.com/artists2.html
            • 3. Re: show - hide behavior
              Level 7
              And where should we look to see this failure?

              --
              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
              ==================


              "niksveler" <webforumsuser@macromedia.com> wrote in message
              news:gapdpm$p6k$1@forums.macromedia.com...
              > Hi ! Thanks for your responding !
              > Here is the link - http://calmodern.com/artists2.html

              • 4. Re: show - hide behavior
                Level 7
                Nevermind. In every case, change this -

                <li class="li"
                onmouseover="MM_showHideLayers('apDiv1','','show','apDiv2','','hide','apDiv3','','hide',' apDiv4','','hide','apDiv5','','hide')"><a
                href="AndrzejMichaelKarwacki.html" >Andrzej Michael Karwacki</a></li>

                to this -

                <li class="li"><a href="AndrzejMichaelKarwacki.html"
                onmouseover="MM_showHideLayers('apDiv1','','show','apDiv2','','hide','apDiv3','','hide',' apDiv4','','hide','apDiv5','','hide')">Andrzej
                Michael Karwacki</a></li>

                Such events/behaviors should really only ever be applied to anchor tags, not
                to other tags on the page.

                --
                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
                ==================


                "niksveler" <webforumsuser@macromedia.com> wrote in message
                news:gapdpm$p6k$1@forums.macromedia.com...
                > Hi ! Thanks for your responding !
                > Here is the link - http://calmodern.com/artists2.html

                • 5. show - hide behavior
                  niksveler Level 1
                  Thank you, I did find the problem, if javascript located above the apDiv style sheet the behavior dosn't working, if after style it's working just fine !
                  In my case the dreamwever placed the script above the apDiv css location !

                  Not working >>>>>>>>>>>>>>>>>>>>>>>>>>

                  <script type="text/javascript">
                  function MM_showHideLayers()
                  </script>

                  <style type="text/css">

                  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

                  Working !!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

                  <style type="text/css">

                  <script type="text/javascript">
                  function MM_showHideLayers()
                  </script>

                  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

                  • 6. Re: show - hide behavior
                    Level 7
                    I'm sorry to tell you that the location of the script would make no
                    difference whatsoever. If you are finding it does, then you have arrived at
                    the wrong conclusion, and implicates some other associated problem with your
                    page. Did you fix the code (the missing tags)?

                    --
                    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
                    ==================


                    "niksveler" <webforumsuser@macromedia.com> wrote in message
                    news:gaphcm$62$1@forums.macromedia.com...
                    > Thank you, I did find the problem, if javascript located above the apDiv
                    > style
                    > sheet the behavior dosn't working, if after style it's working just fine !
                    > In my case the dreamwever put the script above the apDiv css location !
                    >
                    > Not working >>>>>>>>>>>>>>>>>>>>>>>>>>
                    >
                    > <script type="text/javascript">
                    > function MM_showHideLayers()
                    > </script>
                    >
                    > <style type="text/css">
                    >
                    > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
                    >
                    > Working !!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
                    >
                    > <style type="text/css">
                    >
                    > <script type="text/javascript">
                    > function MM_showHideLayers()
                    > </script>
                    >
                    > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
                    >
                    >
                    >

                    • 7. Re: show - hide behavior
                      niksveler Level 1
                      Yes I did changed from the <li> to <a> but it's still not working, just after I changed the location for the script, it's start working!
                      Maybe you are right I did miss something, another errors , but anyway it’s working ! Thanks for your help !
                      • 8. Re: show - hide behavior
                        Level 7
                        This that mysteriously start working also mysteriously stop working. Moving
                        the script's location (on a properly coded page) would have no impact
                        whatsoever on its functionality.

                        --
                        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
                        ==================


                        "niksveler" <webforumsuser@macromedia.com> wrote in message
                        news:gapjn6$2s1$1@forums.macromedia.com...
                        > Yes I did changed from the
                        • to <a> but it's still not working, just
                          > after
                          > I changed the location for the script, it's start working!
                          > Maybe you are right I did miss something, another errors , but anyway it?s
                          > working ! Thanks for your help !
                          >
                          >