13 Replies Latest reply on Jan 2, 2009 6:00 AM by Newsgroup_User

    IE Rollover Problem in Frame

    NoHandleBars
      I would appreciate assistance in resolving a rollover problem which exists only in all versions of IE but works fine in FF, Opera, Safari, and Chrome. You can see the page at http://www.moriel.org/Moriel_USA/Moriel_USA.html.

      This is a frameset where the rollover menu in the left sidebar automatically loads the page in the main section to the right. In IE it loads the rollover on the wrong line (1 below where it should be) but still correctly loads the page on the right.

      I'm sure I'm not the first to experience this but just can't seem to locate the solution. Any help would be much appreciated. Thanks!
        • 1. Re: IE Rollover Problem in Frame
          Level 7
          Pardon me for saying this but that is simply an awful way to make a website.
          It suffers from all of the usual disadvantages of frames (there is no reason
          at all for using them here), in addition to the fact that each rollover
          required an entirely new page to load in the central frame (i.e., long -
          LONG - delay).

          In addition, your use of Java on one of the pages ensures that a great many
          of your visitors will not see the contents there. That, combined with your
          use of an all javascript menu in the top navigation frame -

          <script type="text/javascript" language="JavaScript1.2"
          src="../Scripts/MainNav.js"></script>

          means that your site won't be spidered at all. Sorry - but I think your
          site layout architecture defeats the very purpose of the site.

          I don't see any rollover problem in IE7.

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


          "NoHandleBars" <webforumsuser@macromedia.com> wrote in message
          news:gjirk2$hjp$1@forums.macromedia.com...
          >I would appreciate assistance in resolving a rollover problem which exists
          >only
          > in all versions of IE but works fine in FF, Opera, Safari, and Chrome. You
          > can
          > see the page at http://www.moriel.org/Moriel_USA/Moriel_USA.html.
          >
          > This is a frameset where the rollover menu in the left sidebar
          > automatically
          > loads the page in the main section to the right. In IE it loads the
          > rollover on
          > the wrong line (1 below where it should be) but still correctly loads the
          > page
          > on the right.
          >
          > I'm sure I'm not the first to experience this but just can't seem to
          > locate
          > the solution. Any help would be much appreciated. Thanks!
          >

          • 2. Re: IE Rollover Problem in Frame
            Level 7
            Murray *ACE* wrote:
            > Pardon me for saying this but that is simply an awful way to make a
            > website. It suffers from all of the usual disadvantages of frames (there
            > is no reason at all for using them here), in addition to the fact that
            > each rollover required an entirely new page to load in the central frame
            > (i.e., long - LONG - delay).
            >
            > In addition, your use of Java on one of the pages ensures that a great
            > many of your visitors will not see the contents there. That, combined
            > with your use of an all javascript menu in the top navigation frame -
            >
            > <script type="text/javascript" language="JavaScript1.2"
            > src="../Scripts/MainNav.js"></script>
            >
            > means that your site won't be spidered at all. Sorry - but I think your
            > site layout architecture defeats the very purpose of the site.
            >
            > I don't see any rollover problem in IE7.
            >
            I must agree with Murray with the added caveat:

            Users don't expect a rollover to load urls, they would normally click
            the link.
            Mick
            • 3. Re: IE Rollover Problem in Frame
              NoHandleBars Level 1
              In reading another site I resolved the issue so I'll post it here just in case anyone does the same thing in the future.

              When naming each rollover they need to be numbered beginning with "0" instead of being given unique names in the "Image Name" filed of the "Insert Rollover Image" dialog box.
              • 4. Re: IE Rollover Problem in Frame
                Level 7
                That's nonsense.

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


                "NoHandleBars" <webforumsuser@macromedia.com> wrote in message
                news:gjj1of$psu$1@forums.macromedia.com...
                > In reading another site I resolved the issue so I'll post it here just in
                > case
                > anyone does the same thing in the future.
                >
                > When naming each rollover they need to be numbered beginning with "0"
                > instead
                > of being given unique names in the "Image Name" filed of the "Insert
                > Rollover
                > Image" dialog box.
                >

                • 5. Re: IE Rollover Problem in Frame
                  Level 7
                  On Thu, 1 Jan 2009 13:32:19 -0500, "Murray *ACE*"
                  <forums@HAHAgreat-web-sights.com> wrote:

                  >That's nonsense.

                  You are correct. However, using names with spaces in them will reek havoc
                  with them.

                  Gary
                  • 6. Re: IE Rollover Problem in Frame
                    Level 7
                    Assuming you mean "wreak", yes, that too! 8)

                    If not, then your suggestion reeks.

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


                    "Gary White" <reply@newsgroup.please> wrote in message
                    news:2l3ql4tefhrt1u6h7rhk94t7kajdv9hop4@4ax.com...
                    > On Thu, 1 Jan 2009 13:32:19 -0500, "Murray *ACE*"
                    > <forums@HAHAgreat-web-sights.com> wrote:
                    >
                    >>That's nonsense.
                    >
                    > You are correct. However, using names with spaces in them will reek havoc
                    > with them.
                    >
                    > Gary

                    • 7. Re: IE Rollover Problem in Frame
                      Level 7
                      Gary White wrote:
                      > On Thu, 1 Jan 2009 13:32:19 -0500, "Murray *ACE*"
                      > <forums@HAHAgreat-web-sights.com> wrote:
                      >
                      >> That's nonsense.
                      >
                      > You are correct. However, using names with spaces in them will reek havoc
                      > with them.
                      >
                      > Gary
                      Not really.

                      document.images["image name here"].onmouseover=function(){...}

                      Should work fine. No havoc *wreaking* there.
                      Mick
                      • 8. Re: IE Rollover Problem in Frame
                        NoHandleBars Level 1
                        I just replicated this EXACT solution on 6 additional pages which all now work. And I didn't have spaces in the names to begin with, but did have an underscore. Hope this helps...
                        • 9. Re: IE Rollover Problem in Frame
                          Level 7
                          You cannot begin a name attribute with a number. You may think it works,
                          but it won't be reliable.

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


                          "NoHandleBars" <webforumsuser@macromedia.com> wrote in message
                          news:gjj4lq$j3$1@forums.macromedia.com...
                          >I just replicated this EXACT solution on 6 additional pages which all now
                          >work. And I didn't have spaces in the names to begin with, but did have an
                          >underscore. Hope this helps...

                          • 10. Re: IE Rollover Problem in Frame
                            Level 7
                            On Thu, 1 Jan 2009 13:44:51 -0500, "Murray *ACE*"
                            <forums@HAHAgreat-web-sights.com> wrote:

                            >Assuming you mean "wreak", yes, that too! 8)
                            >
                            >If not, then your suggestion reeks.

                            Using names with spaces in them reeks, no?

                            Gary
                            • 11. Re: IE Rollover Problem in Frame
                              Level 7
                              On Thu, 01 Jan 2009 13:58:02 -0500, Michael White
                              <mwhite13@rochester.rr.com> wrote:

                              >Not really.
                              >
                              >document.images["image name here"].onmouseover=function(){...}
                              >
                              >Should work fine. No havoc *wreaking* there.

                              Hmmm ... I've run into problems before with js and spaces in names.
                              Perhaps it was file names with spaces that were the problem. I've avoided
                              spaces in both for so long now that I don't remember for certain.

                              Gary
                              • 12. Re: IE Rollover Problem in Frame
                                Level 7
                                Gary White wrote:
                                > On Thu, 01 Jan 2009 13:58:02 -0500, Michael White
                                > <mwhite13@rochester.rr.com> wrote:
                                >
                                >> Not really.
                                >>
                                >> document.images["image name here"].onmouseover=function(){...}
                                >>
                                >> Should work fine. No havoc *wreaking* there.
                                >
                                > Hmmm ... I've run into problems before with js and spaces in names.
                                > Perhaps it was file names with spaces that were the problem. I've avoided
                                > spaces in both for so long now that I don't remember for certain.
                                >
                                > Gary
                                A js variable can not contain spaces, but an object's property can if it
                                is enclosed in brackets. Even a global object:

                                window["The Meaning of Life"]=41.9

                                Mick


                                • 13. Re: IE Rollover Problem in Frame
                                  Level 7
                                  On Thu, 01 Jan 2009 19:48:52 -0500, Michael White
                                  <mwhite13@rochester.rr.com> wrote:

                                  >A js variable can not contain spaces, but an object's property can if it
                                  >is enclosed in brackets. Even a global object:
                                  >
                                  >window["The Meaning of Life"]=41.9

                                  You are talking about a js variable name cannot contain spaces, right?
                                  That just seemed so obvious that I wanted to make sure I understood. I
                                  think what I may have been remembering was something like:

                                  window.open("a page name with spaces.html");

                                  However, testing it now, it seems to work. Perhaps it was in older
                                  browsers. I dunno, I'm getting way too forgetful any more.

                                  Gary