Really Strange Problem with IFRAME location.href

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

    #1

    Really Strange Problem with IFRAME location.href

    I have a page with an IFRAME. When I tried to dynamically set the
    location.href of the IFRAME to a URL address, the Internet Explorer
    browser loads the page onto the IFRAME correctly but a very strange
    thing usually happens, i.e. the progress bar shows that the page is
    loading in progress.

    e.g.

    <iframe name="test" width="100" height="100"></iframe>
    ....
    <script>
    document.test.l ocation.href="a TestPage.aspx";
    </script>

    Any clues how to resolve the progress bar problem?

    Thanks very much,
    June.
  • Mick White

    #2
    Re: Really Strange Problem with IFRAME location.href

    June Moore wrote:[color=blue]
    > I have a page with an IFRAME. When I tried to dynamically set the
    > location.href of the IFRAME to a URL address, the Internet Explorer
    > browser loads the page onto the IFRAME correctly but a very strange
    > thing usually happens, i.e. the progress bar shows that the page is
    > loading in progress.
    >
    > e.g.
    >
    > <iframe name="test" width="100" height="100"></iframe>
    > ...
    > <script>
    > document.test.l ocation.href="a TestPage.aspx";
    > </script>
    >
    > Any clues how to resolve the progress bar problem?[/color]


    Try assigning the "src" to your URL.
    Mick[color=blue]
    >
    > Thanks very much,
    > June.[/color]

    Comment

    • June Moore

      #3
      Re: Really Strange Problem with IFRAME location.href

      Mick White <mwhite13@BOGUS rochester.rr.co m> wrote in message news:<3EKCc.386 327$M3.190960@t wister.nyroc.rr .com>...[color=blue]
      >
      > Try assigning the "src" to your URL.
      > Mick[/color]

      This doesn't work. I'm at a loss as to what to do next.
      Any help will be greatly appreciated.

      J.

      Comment

      Working...