Loading ...
Sorry, an error occurred while loading the content.

Opera 9.2/WIN and targets

Expand Messages
  • Mike Breiding
    Greetings, In both Moz and IE the link below navigates to the top of the image, as it should. In Opera it navigates to the bottom. Any solution for this?
    Message 1 of 5 , Oct 30, 2007
    • 0 Attachment
      Greetings,

      In both Moz and IE the link below navigates to the top of the image,
      as it should.
      In Opera it navigates to the bottom.
      Any solution for this?

      Thanks,
      -Mike

      http://epicroadtrips.us/2007/summer/california/week4/#ert07CA_D19-20_wk4_sat-sun23.jpg

      Snip from page:
      http://epicroadtrips.us/2007/summer/california/week4/index.php
      <a name="ert07CA_D19-20_wk4_sat-sun01.jpg"
      id="ert07CA_D19-20_wk4_sat-sun01.jpg"> </a>
      <a href="d19_sunday_w4/hres/ert07CA_D19-20_wk4_sat-sun01.jpg"><img
      src="d19_sunday_w4/ert07CA_D19-20_wk4_sat-sun01.jpg" title="" alt=""
      /></a>
      <p>ert07CA_D19-20_wk4_sat-sun01.jpg </p>
    • loro
      ... Dunno, but I suspect it has to do with that
      Message 2 of 5 , Oct 30, 2007
      • 0 Attachment
        Mike Breiding wrote:
        >In both Moz and IE the link below navigates to the top of the image,
        >as it should.
        >In Opera it navigates to the bottom.
        >Any solution for this?
        >
        >Thanks,
        >-Mike
        >
        >http://epicroadtrips.us/2007/summer/california/week4/#ert07CA_D19-20_wk4_sat-sun23.jpg
        >
        >Snip from page:
        >http://epicroadtrips.us/2007/summer/california/week4/index.php
        ><a name="ert07CA_D19-20_wk4_sat-sun01.jpg"
        >id="ert07CA_D19-20_wk4_sat-sun01.jpg"> </a>
        ><a href="d19_sunday_w4/hres/ert07CA_D19-20_wk4_sat-sun01.jpg"><img
        >src="d19_sunday_w4/ert07CA_D19-20_wk4_sat-sun01.jpg" title="" alt=""
        >/></a>
        ><p>ert07CA_D19-20_wk4_sat-sun01.jpg </p>

        Dunno, but I suspect it has to do with that <a name="...></a><a
        href=""...><img...></a> are all in line elements and that <a name=""> has
        no relation to the image at all. If you delete the <a name=""> altogether
        and move the name and id attributes to the other A tag, the one that
        actually contains the IMG, it'll work as you want.

        For extra safety you could ditch the 'name' altogether and use the id with
        the P under the image, the one with the caption. IIRC Netscape 4 is the
        newest browser that benefits from 'name'. You could also use the id in the
        IMG tag. I'd put it where I suspected I might have other use for it,
        probably in a DIV around the whole thing, image and caption.

        Lotta
      • WV-Mike
        ... Here is what I did and it now works.   --
        Message 3 of 5 , Oct 30, 2007
        • 0 Attachment
          At 10:10 AM 10/30/2007 , you wrote:
          >Dunno, but I suspect it has to do with that <a name="...></a><a
          >href=""...><img...></a> are all in line elements and that <a name=""> has
          >no relation to the image at all. If you delete the <a name=""> altogether
          >and move the name and id attributes to the other A tag, the one that
          >actually contains the IMG, it'll work as you want.
          >
          >For extra safety you could ditch the 'name' altogether and use the id with
          >the P under the image, the one with the caption. IIRC Netscape 4 is the
          >newest browser that benefits from 'name'. You could also use the id in the
          >IMG tag. I'd put it where I suspected I might have other use for it,
          >probably in a DIV around the whole thing, image and caption.
          >
          >Lotta


          Here is what I did and it now works.

          <!-- <a name="ert07CA_D19-20_wk4_sat-sun23.jpg"
          id="ert07CA_D19-20_wk4_sat-sun23.jpg"> </a> -->

          <a href="d19_sunday_w4/hres/ert07CA_D19-20_wk4_sat-sun23.jpg">
          <img src="d19_sunday_w4/ert07CA_D19-20_wk4_sat-sun23.jpg" title="" alt=""
          id="ert07CA_D19-20_wk4_sat-sun23.jpg"/>
          </a>
          <p>ert07CA_D19-20_wk4_sat-sun23.jpg </p>

          If I placed the ID in the P tag Opera still navigates to the bottom of the
          image.

          I removed this from the clip:
          ^!InsertHtml <a name="^%imagename%" id="^%imagename%"> </a>

          And added id="^%imagename%" to this clip line:

          ^!InsertHtml <a href="hres/^%imagename%"><img src="^%imagename%"
          width="^%ImgWidth%" height="^%ImgHeight%" title="^%TITLE%" alt="^%ALT%"
          id="^%imagename%"/></a>^p<p>^%ImageName% </p>^p^p

          Which outputs this:
          <a href="hres/ert07CA_D19-20_wk4_sat-sun32.jpg"><img
          src="ert07CA_D19-20_wk4_sat-sun32.jpg" width="450" height="300" title=""
          alt="" id="ert07CA_D19-20_wk4_sat-sun32.jpg"/></a>

          It works!
          By god, I think I may actaully be learning something!

          Thanks a bunch.
          -Mike
        • loro
          ... What a stupid thing to say! Don t know how I was thinking. As Mike already has discovered the hard way, that s no good at all. The P is as little connected
          Message 4 of 5 , Oct 30, 2007
          • 0 Attachment
            loro wrote:
            >For extra safety you could ditch the 'name' altogether and use the id with
            >the P under the image, the one with the caption.

            What a stupid thing to say! Don't know how I was thinking. As Mike already
            has discovered the hard way, that's no good at all. The P is as little
            connected to the IMG as the named anchor was.

            Lotta
          • WV-Mike
            ... Here is what I did and it now works.   --
            Message 5 of 5 , Oct 30, 2007
            • 0 Attachment
              At 10:10 AM 10/30/2007 , you wrote:
              >Dunno, but I suspect it has to do with that <a name="...></a><a
              >href=""...><img...></a> are all in line elements and that <a name=""> has
              >no relation to the image at all. If you delete the <a name=""> altogether
              >and move the name and id attributes to the other A tag, the one that
              >actually contains the IMG, it'll work as you want.
              >
              >For extra safety you could ditch the 'name' altogether and use the id with
              >the P under the image, the one with the caption. IIRC Netscape 4 is the
              >newest browser that benefits from 'name'. You could also use the id in the
              >IMG tag. I'd put it where I suspected I might have other use for it,
              >probably in a DIV around the whole thing, image and caption.
              >
              >Lotta


              Here is what I did and it now works.

              <!-- <a name="ert07CA_D19-20_wk4_sat-sun23.jpg"
              id="ert07CA_D19-20_wk4_sat-sun23.jpg"> </a> -->

              <a href="d19_sunday_w4/hres/ert07CA_D19-20_wk4_sat-sun23.jpg">
              <img src="d19_sunday_w4/ert07CA_D19-20_wk4_sat-sun23.jpg" title="" alt=""
              id="ert07CA_D19-20_wk4_sat-sun23.jpg"/>
              </a>
              <p>ert07CA_D19-20_wk4_sat-sun23.jpg </p>

              If I placed the ID in the P tag Opera still navigates to the bottom of the
              image.

              I removed this from the clip:
              ^!InsertHtml <a name="^%imagename%" id="^%imagename%"> </a>

              And added id="^%imagename%" to this clip line:

              ^!InsertHtml <a href="hres/^%imagename%"><img src="^%imagename%"
              width="^%ImgWidth%" height="^%ImgHeight%" title="^%TITLE%" alt="^%ALT%"
              id="^%imagename%"/></a>^p<p>^%ImageName% </p>^p^p

              Which outputs this:
              <a href="hres/ert07CA_D19-20_wk4_sat-sun32.jpg"><img
              src="ert07CA_D19-20_wk4_sat-sun32.jpg" width="450" height="300" title=""
              alt="" id="ert07CA_D19-20_wk4_sat-sun32.jpg"/></a>

              It works!
              By god, I think I may actaully be learning something!

              Thanks a bunch.
              -Mike


              [Non-text portions of this message have been removed]
            Your message has been successfully submitted and would be delivered to recipients shortly.