Loading graphics-failed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Devin

    Loading graphics-failed

    I'm using frontpage as the editor. The first button opens a new
    browser and loads the jpg for each button. The second button opens the
    new browser but don't load up the graphics. Why?


    <pre><u><inpu t type="Button" value="Floor plan"
    onClick="InfoWi ndow=window.ope n('Final%20Draf ts/Cholla.htm','In foWindow','tool bar=no,
    location=no, directories=no, status=no, menubar=no, scrollbars=no,
    resizable=no, width=685, height=640, left=10, top=10'); return
    false;"></pre

    <pre><u><inpu t type="Button" value="Floor plan"
    onClick="InfoWi ndow=window.ope n('Final%Drafts/Octillo.htm','I nfoWindow','too lbar=no,
    location=no, directories=no, status=no, menubar=no, scrollbars=no,
    resizable=no, width=635, height=685, left=10, top=10'); return
    false;"></u>
  • Neal

    #2
    Re: Loading graphics-failed

    On 4 Mar 2004 21:39:03 -0800, Devin <dovendaven@hot mail.com> wrote:
    [color=blue]
    > I'm using frontpage as the editor. The first button opens a new
    > browser and loads the jpg for each button. The second button opens the
    > new browser but don't load up the graphics. Why?
    >
    >
    > <pre><u><inpu t type="Button" value="Floor plan"
    > onClick="InfoWi ndow=window.ope n('Final%20Draf ts/Cholla.htm','In foWindow','tool bar=no,
    > location=no, directories=no, status=no, menubar=no, scrollbars=no,
    > resizable=no, width=685, height=640, left=10, top=10'); return
    > false;"></pre
    >
    > <pre><u><inpu t type="Button" value="Floor plan"
    > onClick="InfoWi ndow=window.ope n('Final%Drafts/Octillo.htm','I nfoWindow','too lbar=no,
    > location=no, directories=no, status=no, menubar=no, scrollbars=no,
    > resizable=no, width=635, height=685, left=10, top=10'); return
    > false;"></u>[/color]


    First strike - inspect the htm files. Fault is likely there.

    Second strike - put the first htm file in the second's code and see if it
    opens that. Scientifically separate the code from the file in that way -
    if the first file opens fine in the second code, the code's not to blame,
    the file is.

    Comment

    • Stephen Poley

      #3
      Re: Loading graphics-failed

      On 4 Mar 2004 21:39:03 -0800, dovendaven@hotm ail.com (Devin) wrote:
      [color=blue]
      >I'm using frontpage as the editor. The first button opens a new
      >browser and loads the jpg for each button. The second button opens the
      >new browser but don't load up the graphics. Why?[/color]

      Don't know, but Neal has given you some suggestions.

      However, you have several other problems.
      [color=blue]
      ><pre><u><inp ut type="Button" value="Floor plan"
      >onClick="InfoW indow=window.op en('Final%20Dra fts/Cholla.htm','In foWindow','tool bar=no,
      >location=no, directories=no, status=no, menubar=no, scrollbars=no,
      >resizable=no , width=685, height=640, left=10, top=10'); return
      >false;"></pre[/color]

      - This will only work for readers who have Javascript enabled. 10%-20%
      do not (for good reasons). See

      As you don't seem to be doing anything that intrinsically requires
      Javascript, now would be a good time to replace the button with a link.

      - Do you really need a new window at all? Do you have a clear reason why
      the reader needs to see both the new and old windows at the same time?

      - scrollbars=no is appalling. Don't ever use it. It has two possible
      effects: (1) the user cannot get to part of the page, or (2) nothing.
      Which do you want to achieve?

      - resizable=no isn't much better.

      - The <u> element is not closed. Does it do anything anyway? (Not in my
      browser)

      - Not much point in putting a PRE element around something with no text.

      All in all, this seems to provide further evidence (if any were needed)
      that the best place for FrontPage is the dustbin.

      --
      Stephen Poley


      Comment

      • Keld R. Hansen

        #4
        Re: Loading graphics-failed

        Devin wrote:
        [color=blue]
        > I'm using frontpage as the editor. The first button opens a new
        > browser and loads the jpg for each button. The second button opens the
        > new browser but don't load up the graphics. Why?
        >
        >
        > <pre><u><inpu t type="Button" value="Floor plan"
        > onClick="InfoWi ndow=window.ope n('Final%20Draf ts/Cholla.htm','In foWindow','tool bar=no,
        > location=no, directories=no, status=no, menubar=no, scrollbars=no,
        > resizable=no, width=685, height=640, left=10, top=10'); return
        > false;"></pre
        >
        > <pre><u><inpu t type="Button" value="Floor plan"
        > onClick="InfoWi ndow=window.ope n('Final%Drafts/Octillo.htm','I nfoWindow','too lbar=no,
        > location=no, directories=no, status=no, menubar=no, scrollbars=no,
        > resizable=no, width=635, height=685, left=10, top=10'); return
        > false;"></u>[/color]

        Blah.. blah... usual warnings about JavaScript, and popup windows...
        Blah... blah...

        Now to the problem itself:

        The first one specifies the file name as 'Final%20Drafts/Cholla.htm',
        whereas the second one specifies it as 'Final%Drafts/Octillo.htm'

        See any obvious difference between these (besides the .htm name)?

        What does the '%' character mean in the second file name? It means a
        character whose ASCII value is specified in hexadecimal in the following
        two characters - DR in this case. That's an illegal hexadecimal number,
        and thus is unsupported (and unpredictable).

        I assume you wanted to specify 'Final%20Drafts/Octillo.htm' as the file
        name for the second button...

        Comment

        • Keld R. Hansen

          #5
          Re: Loading graphics-failed

          Devin wrote:
          [color=blue]
          > I'm using frontpage as the editor. The first button opens a new
          > browser and loads the jpg for each button. The second button opens the
          > new browser but don't load up the graphics. Why?
          >
          >
          > <pre><u><inpu t type="Button" value="Floor plan"
          > onClick="InfoWi ndow=window.ope n('Final%20Draf ts/Cholla.htm','In foWindow','tool bar=no,
          > location=no, directories=no, status=no, menubar=no, scrollbars=no,
          > resizable=no, width=685, height=640, left=10, top=10'); return
          > false;"></pre
          >
          > <pre><u><inpu t type="Button" value="Floor plan"
          > onClick="InfoWi ndow=window.ope n('Final%Drafts/Octillo.htm','I nfoWindow','too lbar=no,
          > location=no, directories=no, status=no, menubar=no, scrollbars=no,
          > resizable=no, width=635, height=685, left=10, top=10'); return
          > false;"></u>[/color]

          Blah.. blah... usual warnings about JavaScript, and popup windows...
          Blah... blah...

          Now to the problem itself:

          The first one specifies the file name as 'Final%20Drafts/Cholla.htm',
          whereas the second one specifies it as 'Final%Drafts/Octillo.htm'

          See any obvious difference between these (besides the .htm name)?

          What does the '%' character mean in the second file name? It means a
          character whose ASCII value is specified in hexadecimal in the following
          two characters - DR in this case. That's an illegal hexadecimal number,
          and thus is unsupported (and unpredictable).

          I assume you wanted to specify 'Final%20Drafts/Octillo.htm' as the file
          name for the second button...

          Comment

          • Daniel R. Tobias

            #6
            Re: Loading graphics-failed

            Devin wrote:[color=blue]
            > I'm using frontpage as the editor.[/color]

            That's your first mistake... FrontPage sucks! Real Men write HTML by
            hand! :-)
            [color=blue]
            > The first button opens a new
            > browser and loads the jpg for each button.[/color]

            That's your second mistake. Opening up new browser windows is generally
            regarded as annoying.
            [color=blue]
            > The second button opens the
            > new browser but don't load up the graphics. Why?[/color]

            Maybe due to some of your several syntax errors...
            [color=blue]
            > <pre><u><inpu t type="Button" value="Floor plan"
            > onClick="InfoWi ndow=window.ope n('Final%20Draf ts/Cholla.htm','In foWindow','tool bar=no,
            > location=no, directories=no, status=no, menubar=no, scrollbars=no,
            > resizable=no, width=685, height=640, left=10, top=10'); return
            > false;"></pre[/color]

            1) The <u> element is never closed (and must be closed before the <pre>
            element to be properly nested)

            2) You're missing the closing ">" character in the </pre> tag.
            [color=blue]
            > <pre><u><inpu t type="Button" value="Floor plan"
            > onClick="InfoWi ndow=window.ope n('Final%Drafts/Octillo.htm','I nfoWindow','too lbar=no,
            > location=no, directories=no, status=no, menubar=no, scrollbars=no,
            > resizable=no, width=635, height=685, left=10, top=10'); return
            > false;"></u>[/color]

            3) 'Final%Drafts' is probably supposed to be 'Final%20Drafts ', where %20
            is the hexadecimal code for the space character. (You're better off
            using file and directory names that don't have spaces in them, so you
            don't have characters in your URLs that need escaping.)

            4) The <pre> element is never closed.

            Furthermore, it's a bad idea to make your site navigation depend on
            JavaScript, or the <input type="button"> element (which is not supported
            in older browsers). Also, I believe Netscape browsers ignore <input>
            elements when they're not within a <form> element.

            I see no references to .jpg graphics in your code; probably, they're
            loaded with <img> elements in the HTML documents referenced there.

            --
            == Dan ==
            Dan's Mail Format Site: http://mailformat.dan.info/
            Dan's Web Tips: http://webtips.dan.info/
            Dan's Domain Site: http://domains.dan.info/

            Comment

            • Stan Brown

              #7
              Re: Loading graphics-failed

              It seems "Stephen Poley" wrote in
              comp.infosystem s.www.authoring.html:[color=blue]
              >- scrollbars=no is appalling. Don't ever use it. It has two possible
              >effects: (1) the user cannot get to part of the page, or (2) nothing.
              >Which do you want to achieve?[/color]

              What a well-turned phrase!

              --
              Stan Brown, Oak Road Systems, Cortland County, New York, USA

              HTML 4.01 spec: http://www.w3.org/TR/html401/
              validator: http://validator.w3.org/
              CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
              2.1 changes: http://www.w3.org/TR/CSS21/changes.html
              validator: http://jigsaw.w3.org/css-validator/

              Comment

              • Devin

                #8
                Re: Loading graphics-failed

                "Keld R. Hansen" <news@www.heart ware.dk> wrote in message news:<40484AEE. 40706@www.heart ware.dk>...[color=blue]
                > Devin wrote:
                >[color=green]
                > > I'm using frontpage as the editor. The first button opens a new
                > > browser and loads the jpg for each button. The second button opens the
                > > new browser but don't load up the graphics. Why?
                > >
                > >
                > > <pre><u><inpu t type="Button" value="Floor plan"
                > > onClick="InfoWi ndow=window.ope n('Final%20Draf ts/Cholla.htm','In foWindow','tool bar=no,
                > > location=no, directories=no, status=no, menubar=no, scrollbars=no,
                > > resizable=no, width=685, height=640, left=10, top=10'); return
                > > false;"></pre
                > >
                > > <pre><u><inpu t type="Button" value="Floor plan"
                > > onClick="InfoWi ndow=window.ope n('Final%Drafts/Octillo.htm','I nfoWindow','too lbar=no,
                > > location=no, directories=no, status=no, menubar=no, scrollbars=no,
                > > resizable=no, width=635, height=685, left=10, top=10'); return
                > > false;"></u>[/color]
                >
                > Blah.. blah... usual warnings about JavaScript, and popup windows...
                > Blah... blah...
                >
                > Now to the problem itself:
                >
                > The first one specifies the file name as 'Final%20Drafts/Cholla.htm',
                > whereas the second one specifies it as 'Final%Drafts/Octillo.htm'
                >
                > See any obvious difference between these (besides the .htm name)?
                >
                > What does the '%' character mean in the second file name? It means a
                > character whose ASCII value is specified in hexadecimal in the following
                > two characters - DR in this case. That's an illegal hexadecimal number,
                > and thus is unsupported (and unpredictable).
                >
                > I assume you wanted to specify 'Final%20Drafts/Octillo.htm' as the file
                > name for the second button...[/color]

                That did it! I can't believe I missed it. I reviewed those lines over
                and over. Good eye-thanks a million!

                Comment

                • Devin

                  #9
                  Re: Loading graphics-failed

                  "Daniel R. Tobias" <dan@tobias.nam e> wrote in message news:<x_mdnQcUN Ptc49XdRVn-hA@adelphia.com >...[color=blue]
                  > Devin wrote:[color=green]
                  > > I'm using frontpage as the editor.[/color]
                  >
                  > That's your first mistake... FrontPage sucks! Real Men write HTML by
                  > hand! :-)
                  >[color=green]
                  > > The first button opens a new
                  > > browser and loads the jpg for each button.[/color]
                  >
                  > That's your second mistake. Opening up new browser windows is generally
                  > regarded as annoying.
                  >[color=green]
                  > > The second button opens the
                  > > new browser but don't load up the graphics. Why?[/color]
                  >
                  > Maybe due to some of your several syntax errors...
                  >[color=green]
                  > > <pre><u><inpu t type="Button" value="Floor plan"
                  > > onClick="InfoWi ndow=window.ope n('Final%20Draf ts/Cholla.htm','In foWindow','tool bar=no,
                  > > location=no, directories=no, status=no, menubar=no, scrollbars=no,
                  > > resizable=no, width=685, height=640, left=10, top=10'); return
                  > > false;"></pre[/color]
                  >
                  > 1) The <u> element is never closed (and must be closed before the <pre>
                  > element to be properly nested)
                  >
                  > 2) You're missing the closing ">" character in the </pre> tag.
                  >[color=green]
                  > > <pre><u><inpu t type="Button" value="Floor plan"
                  > > onClick="InfoWi ndow=window.ope n('Final%Drafts/Octillo.htm','I nfoWindow','too lbar=no,
                  > > location=no, directories=no, status=no, menubar=no, scrollbars=no,
                  > > resizable=no, width=635, height=685, left=10, top=10'); return
                  > > false;"></u>[/color]
                  >
                  > 3) 'Final%Drafts' is probably supposed to be 'Final%20Drafts ', where %20
                  > is the hexadecimal code for the space character. (You're better off
                  > using file and directory names that don't have spaces in them, so you
                  > don't have characters in your URLs that need escaping.)
                  >
                  > 4) The <pre> element is never closed.
                  >
                  > Furthermore, it's a bad idea to make your site navigation depend on
                  > JavaScript, or the <input type="button"> element (which is not supported
                  > in older browsers). Also, I believe Netscape browsers ignore <input>
                  > elements when they're not within a <form> element.
                  >
                  > I see no references to .jpg graphics in your code; probably, they're
                  > loaded with <img> elements in the HTML documents referenced there.[/color]

                  That solved it! Both your posting and Keld's about 'Fina%20Drafts'
                  syntax was causing it. Just about everyone's expressions with passion
                  in their postings is freakin' hillarous but convincing! I also will
                  seriously consider dumping frontpage as I've seen some syntax that
                  seems silly. Thanks! Devin

                  Comment

                  • Devin

                    #10
                    Re: Loading graphics-failed

                    dovendaven@hotm ail.com (Devin) wrote in message news:<e41e0a25. 0403042139.2e9a 95d3@posting.go ogle.com>...[color=blue]
                    > I'm using frontpage as the editor. The first button opens a new
                    > browser and loads the jpg for each button. The second button opens the
                    > new browser but don't load up the graphics. Why?
                    >
                    >
                    > <pre><u><inpu t type="Button" value="Floor plan"
                    > onClick="InfoWi ndow=window.ope n('Final%20Draf ts/Cholla.htm','In foWindow','tool bar=no,
                    > location=no, directories=no, status=no, menubar=no, scrollbars=no,
                    > resizable=no, width=685, height=640, left=10, top=10'); return
                    > false;"></pre
                    >
                    > <pre><u><inpu t type="Button" value="Floor plan"
                    > onClick="InfoWi ndow=window.ope n('Final%Drafts/Octillo.htm','I nfoWindow','too lbar=no,
                    > location=no, directories=no, status=no, menubar=no, scrollbars=no,
                    > resizable=no, width=635, height=685, left=10, top=10'); return
                    > false;"></u>[/color]

                    I appreciate everyone suggestions and the problem was the syntax
                    'Final%20Drafts '. Thanks again! Devin

                    Comment

                    Working...