5 Replies Latest reply on Jul 15, 2008 7:10 AM by Newsgroup_User

    anchor problems in older browsers

    jimmyweave
      ive nearly finished a horizontal scrolling gallery page, a preview can be seen here:

      http://www.jamesweaver.co.uk/kai/index.html

      in most browsers it appears to work fine, but in older versions of safari and i think IE, when you click on any of the anchor links, the browser jumps down the page, which obscures the images as the fixed div header is layered over the top. What code do i need to add to prevent these browsers from jumping down the page? i wish the browser to always stay at the top of the page unless the user actively uses the scrollbar to move down.

      any suggestions would be most appreciated, many thanks


        • 1. Re: anchor problems in older browsers
          Level 7
          Sorry, but I hate your horizontal scrolling. So does the validator, finding
          126 errors -

          http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.jamesweaver.co.uk%2Fkai%2Find ex.html

          some of which are serious ones.

          Why have you used Flash for your images? I can still grab them with a
          screen shot, you know?

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


          "jimmyweave" <webforumsuser@macromedia.com> wrote in message
          news:g5i12d$d3g$1@forums.macromedia.com...
          > ive nearly finished a horizontal scrolling gallery page, a preview can be
          > seen
          > here:
          >
          > http://www.jamesweaver.co.uk/kai/index.html
          >
          > in most browsers it appears to work fine, but in older versions of safari
          > and
          > i think IE, when you click on any of the anchor links, the browser jumps
          > down
          > the page, which obscures the images as the fixed div header is layered
          > over the
          > top. What code do i need to add to prevent these browsers from jumping
          > down
          > the page? i wish the browser to always stay at the top of the page unless
          > the
          > user actively uses the scrollbar to move down.
          >
          > any suggestions would be most appreciated, many thanks
          >
          >
          >
          >

          • 2. Re: anchor problems in older browsers
            Level 7
            Murray *ACE* wrote:
            > Sorry, but I hate your horizontal scrolling.

            I actually quite like it to be honest. Its used frequently by design
            studios and artists.

            I'm not saying its good for every occasion but in the right
            circumstances it can be a refreshing change. I'm planning to use it for
            the portfolio page of my site when I next update it.

            I don't like 'scrolling' right but this is a subtle difference because
            you just click a link and it 'naturally' finds the correct place.

            To each his own though.

            • 3. Re: anchor problems in older browsers
              jimmyweave Level 1
              murray ace:

              first of all, i was asking for help with older browser issues, not a critique of my website.

              i have used horizontal scrolling as the page is designed to resemble a gallery. when you go to a gallery, you walk along the wall to look at pictures, you do not go down a lift do you?

              i have used flash for the images so the viewer can view detail (magnify) by clicking the images. you may have seen this if you'd taken the time to actually look at the page rather than jumping the gun. i couldnt care less if someone grabs the images.

              Osgood:

              thank you for your broader mind and nice comments




              neither of these posts have answered the original question, does anyone have any suggestions?
              • 4. Re: anchor problems in older browsers
                jimmyweave Level 1
                i think ive found a solution. i doubt very much it will meet murray ace's impeccably high 'web standards', but if i add onclick="return false" to each anchor link, the problem seems to be solved.
                • 5. Re: anchor problems in older browsers
                  Level 7
                  On Tue, 15 Jul 2008 11:18:37 +0000 (UTC), "jimmyweave"
                  <webforumsuser@macromedia.com> wrote:

                  >ive nearly finished a horizontal scrolling gallery page, a preview can be seen
                  >here:
                  >
                  > http://www.jamesweaver.co.uk/kai/index.html
                  >
                  > in most browsers it appears to work fine, but in older versions of safari and
                  >i think IE, when you click on any of the anchor links, the browser jumps down
                  >the page, which obscures the images as the fixed div header is layered over the
                  >top. What code do i need to add to prevent these browsers from jumping down
                  >the page? i wish the browser to always stay at the top of the page unless the
                  >user actively uses the scrollbar to move down.
                  >
                  > any suggestions would be most appreciated, many thanks
                  >
                  >
                  >

                  putting aside what others may think of your site, it does not work in
                  my IE6 - the nav's just don't jump to the anchor. and the text boxes
                  at top are coloured light blue in IE6 .

                  and it's always best to check validation if you want a site to work in
                  many browsers. and lots of errors highlighted here:

                  http://validator.w3.org/check?uri=http%3A%2F%2Fwww.jamesweaver.co.uk%2Fkai%2Findex.html&ch arset=(detect+automatically)&doctype=Inline&ss=1&group=0&verbose=1
                  --

                  ~Malcolm~*...
                  ~*